Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Is this timer faster or same

$
0
0
Hello,
I have a timer but two ways of it to script, just figuring out that the first way is faster or not.
The First way: I inherit the declared pvid into the timer.
PHP Code:

new pvid GetPlayerVehicleID(playerid);
SetTimerEx("Example"10001"i"pvid); 

The Second Way:
PHP Code:

SetTimer("Example"10001);
public 
Example()
{
     new 
pvid GetPlayerVehicleID(playerid); //just an example I know it won't work



Viewing all articles
Browse latest Browse all 18226

Trending Articles