SetTimerEx Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetTimerEx Problem (
/showthread.php?tid=260600)
SetTimerEx Problem -
LZLo - 09.06.2011
PHP код:
forward StuffON(playerid);
forward StuffOFF(playerid);
under onplayerconnect
PHP код:
StuffON(playerid);
onplayerconnect ended
at the end
PHP код:
public StuffON(playerid)
{
SetTimerEx("StuffOFF(playerid)",2000,0, "e", playerid);
print("Starting (1)...");
}
public StuffOFF(playerid)
{
print("Starting (2)...");
}
"nd doesent't starts, how can i fix it?
AW: SetTimerEx Problem -
Julian12345 - 09.06.2011
Remove (playerid) in SetTimerEx
Re: SetTimerEx Problem - [L3th4l] - 09.06.2011
pawn Код:
public StuffON(playerid)
{
SetTimerEx("StuffOFF",2000,0, "i", playerid);
print("Starting (1)...");
}
Re: SetTimerEx Problem -
PotH3Ad - 09.06.2011
What's "e" for?
pawn Код:
public StuffON(playerid)
{
SetTimerEx("StuffOFF",2000,0, "d", playerid);
print("Starting (1)...");
}
public StuffOFF(playerid)
{
print("Starting (2)...");
}
EDIT: You gay Lethal
Re: SetTimerEx Problem -
LZLo - 09.06.2011
thanks