SA-MP Forums Archive
help needed with timer function - 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: help needed with timer function (/showthread.php?tid=264047)



help needed with timer function - speediekiller3 - 24.06.2011

hi i get 2 errors on this and is uses a timer,

Код:
public UnFreeze()
{
	TogglePlayerControllable(playerid,1);
}
the errors:
E:\Gta SA + Sa-mp\samp03csvr_R2-2_win32\gamemodes\new3.pwn(171) : error 017: undefined symbol "True"

E:\Gta SA + Sa-mp\samp03csvr_R2-2_win32\gamemodes\new3.pwn(2662) : error 017: undefined symbol "playerid"


Re: help needed with timer function - GangsTa_ - 24.06.2011

Show us the line 171 and the line 2662.


Re: help needed with timer function - Ricop522 - 24.06.2011

forward UnFreeze(playerid);
public UnFreeze(playerid)
{
TogglePlayerControllable(playerid,1);
}


Re: help needed with timer function - speediekiller3 - 24.06.2011

thnx Ricop533 This Works!