Timer help
#1

hello i have this


i have this in a command
pawn Код:
SetTimer("Unfreeze_skydive", 5*1000, false); // 5 seconds
forward:
pawn Код:
forward Unfreeze_skydive();
now
pawn Код:
public Unfreeze_skydive()
{
        TogglePlayerControllable(playerid,1);   // Error
    SendClientMessage(playerid , COLOR_YELLOW, "You have started to skydive.");//Error
}


and there are errors

Код:
x:\xxxxxxxxxx\Airport_system.pwn(84) : error 017: undefined symbol "playerid"
x:\xxxxxxxxxx\Airport_system.pwn(85) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
please help me thanks..
Reply


Messages In This Thread
Timer help - by Anak - 19.03.2013, 11:59
Re: Timer help - by Neil. - 19.03.2013, 12:02
Respuesta: Timer help - by Xabi - 19.03.2013, 12:04
Re: Timer help - by Anak - 19.03.2013, 12:05

Forum Jump:


Users browsing this thread: 1 Guest(s)