09.11.2012, 16:40
Hi!
I tired to make a timer but I get a error, I want it to give money when it pass 0
But I get error:
(At that line)
The rest of the code:
When the timer will start..
And on top of my script (forward)
I had almost the same but on a filterscript but then I had so the timer started by a command
and it got a explode... And that workt with that...
Edit: Maybe it not work under there ?.. But I need it when it pass 0...
I tired to make a timer but I get a error, I want it to give money when it pass 0
pawn Код:
public robc() //(robc is my timer name...)
{
GivePlayerMoney(playerid,9000);
}
Код:
C:\Users\Davve\Desktop\Scripting\Server Las Venturas TDM\LV.pwn(847) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
The rest of the code:
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
SetTimer("robc",5000,false);
return 1;
}
And on top of my script (forward)
pawn Код:
forward robc();
and it got a explode... And that workt with that...
Edit: Maybe it not work under there ?.. But I need it when it pass 0...