Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - vcmptr
1
Off-Topic General / What Happened to vcmp.liberty-unleashed.co.uk
« on January 13th, 2019, 06:28 PM »
Anyone know what happened to vcmp.liberty-unleashed.co.uk? It's only shows blank page.
2
Bugs and Crashes / Run on the ground
« on January 21st, 2017, 08:21 PM »
When i crush someone with a car they are falling but still running.

www.youtube.com/watch?v=KGUeV-EJf-M
3
Bugs and Crashes / All Servers Not Loading First Time
« on November 21st, 2015, 08:40 PM »
If I want see all servers I must refresh list few times. Please watch the video.

https://youtu.be/SIjY0-ik6Yo
4
Scripting and Server Management / HTTP with Sockets
« on August 8th, 2015, 01:43 AM »
Can I get HTTP page content using sockets? I don't know how to use socket but if it's possible I will try learn use sockets.
5
Snippet Showroom / [Temporary] Print Slicer
« on July 22nd, 2015, 12:14 PM »
This bug still not fixed. I can't wait for fix. I created temporary print function.

Code: [Select]
function PrintSlicer()
{
local PrintBackup = print;
print <- function(string)
{
if(string!=null)
{
string = ""+string+""
if(string.len()>512)
{
  local x = string.len()/512;
  local cpt = 0;
  for(local i = 0; i != x; i++)
{
   cpt += 512;
   PrintBackup(string.slice(cpt-512, cpt));
}
  PrintBackup(string.slice(cpt, (cpt+(string.len()%512))));
  PrintBackup("Sliced prints ("+(x+1)+" slices) ");
}
 else PrintBackup(string);
}
}
}
How to apply?
Just call function in onScriptLoad.
6
Scripting and Server Management / Can I Track Default Objects?
« on June 26th, 2015, 04:12 PM »
Can I track Vice City's objects?
7
Off-Topic General / MyISAM or InnoDB
« on June 16th, 2015, 04:34 PM »
I'm creating users table on MySQL. Table contains passwords, usernames, stats and register dates.
Which one should I use?
8
Closed Bug Reports / NewTimer with Table
« on June 1st, 2015, 05:26 PM »
Firstly I don't know it's whether bug. I might be doing something wrong.
NewTimer function not working with table arg.

I'm trying it:
Code: [Select]
function onScriptLoad()
{
local table = {};
NewTimer("TimerTest", 1000, 1, table);

}


function TimerTest(table)
{
print(type(table));
print("Testing");
}
But does not happen anything.
9
Scripting and Server Management / How Can I Get Microsecond
« on May 31st, 2015, 01:46 PM »
How can I get microsecond with Squirrel?
Like this: 1433076209 0.35124300
10
Scripting and Server Management / How To Sleep
« on May 25th, 2015, 07:51 AM »
I need sleep like PHP sleep function. How can I do with Squirrel?
11
General Discussion / What's your favorite Vice City radio?
« on April 18th, 2015, 10:50 AM »
What's your favorite Vice City radio?
12
Closed Bug Reports / Program Compatibility
« on April 11th, 2015, 02:21 PM »
If I choose any program compatibility mode for gta-vc.exe I can't join servers.
13
Scripting and Server Management / Scheduled Tasks
« on March 13th, 2015, 06:03 PM »
I'm trying to create scheduled tasks. 
Code: [Select]
function tasks()
{
NewTimer("tasks",60000,1);
local now = date()
if(now.hour.tointeger() == 00)
{
SetWeather( 7 );
}
if(now.hour.tointeger() == 06)
{
OffCarLights();
}
if(now.hour.tointeger() == 18)
{
SetWeather( 5 );
}
if(now.hour.tointeger() == 20)
{
OpenCarLights();
}

}

But its not useful.  Example I can't schedule task from week to week. How can I make like Cron Job?
14
Scripting and Server Management / Unix Time to Date
« on March 13th, 2015, 01:45 PM »
I need unix time to date and date to unix time. How can i do?
15
General Discussion / Can I Call Function with PHP
« on March 11th, 2015, 05:44 PM »
I wonder can I call squirrel function with PHP?