29.09.2012, 13:23
Basically, I made a function to go with my timer, and it keeps giving me (error 017: undefined symbol "playerid")
The line that the timer uses the above function:
I would really appreciate the fast help.
pawn Код:
forward UnFreezePlayer();
public UnFreezePlayer()
{
TogglePlayerControllable(playerid, true);
SendClientMessage(playerid, COLOR_GREEN, "[INFO:] Pole has been fixed, You may now move to the next one.");
return 1;
}
The line that the timer uses the above function:
pawn Код:
case 1: { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_WHITE, "[INFO:] You set down your toolbox and started to fix the pole."); TogglePlayerControllable(playerid, false); SetTimer("UnFreezePlayer", 4000, false); TechStatus[playerid]++; SetPlayerCheckpoint(playerid, 1467.8677,164.2824,28.0951, 2); } // 2 cp