SA-MP Forums Archive
[HELP]Timer 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: [HELP]Timer Problem (/showthread.php?tid=147475)



[HELP]Timer Problem - eDz0r - 12.05.2010

I Have A Timer Problem

On Top
Код:
forward delcardestroy(playerid);
This goes to OnPlayerEnterChecpoint
pawn Код:
SetTimerEx("delcar1destroy",2000,0,"i",playerid);
pawn Код:
public delcardestroy()
{
if(IsPlayerInVehicle(playerid,cardel1))//playerid make the error but i don't know why
{
DestroyVehicle(cardel1);
}
return 1;
}
The Error
Код:
C:\Users\Edy\Desktop\New Sa-Mp Server\filterscripts\cardeliver.pwn(266) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: [HELP]Timer Problem - Killa_ - 12.05.2010

pawn Код:
public delcardestroy(playerid)



Re: [HELP]Timer Problem - eDz0r - 12.05.2010

Quote:
Originally Posted by Killa_
pawn Код:
public delcardestroy(playerid)
I am So Stupid Tnx Man