Filterscript gives error 017
#1

Basically, I made a function to go with my timer, and it keeps giving me (error 017: undefined symbol "playerid")

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
I would really appreciate the fast help.
Reply


Messages In This Thread
Filterscript gives error 017 - by Odin - 29.09.2012, 13:23
Re: Filterscript gives error 017 - by ikbenremco - 29.09.2012, 13:30
Re: Filterscript gives error 017 - by xMCx - 29.09.2012, 13:36
Re: Filterscript gives error 017 - by Odin - 29.09.2012, 13:36
Re: Filterscript gives error 017 - by newbienoob - 29.09.2012, 13:37
Re: Filterscript gives error 017 - by M3mPHi$_S3 - 29.09.2012, 15:03
Re: Filterscript gives error 017 - by mamorunl - 29.09.2012, 15:49
Re: Filterscript gives error 017 - by M3mPHi$_S3 - 29.09.2012, 16:33

Forum Jump:


Users browsing this thread: 2 Guest(s)