Killtimer help
#1

Any know whats the problem, thanks in advance!

Код:
E:\Documents and Settings\Nate\Desktop\Rebound-Roleplay\gamemodes\PR-RP.pwn(3135) : error 017: undefined symbol "playerid"
E:\Documents and Settings\Nate\Desktop\Rebound-Roleplay\gamemodes\PR-RP.pwn(3145) : error 028: invalid subscript (not an array or too many subscripts): "Pausetimer"
E:\Documents and Settings\Nate\Desktop\Rebound-Roleplay\gamemodes\PR-RP.pwn(3145) : warning 215: expression has no effect
E:\Documents and Settings\Nate\Desktop\Rebound-Roleplay\gamemodes\PR-RP.pwn(3145) : error 001: expected token: ";", but found "]"
E:\Documents and Settings\Nate\Desktop\Rebound-Roleplay\gamemodes\PR-RP.pwn(3145) : error 029: invalid expression, assumed zero
E:\Documents and Settings\Nate\Desktop\Rebound-Roleplay\gamemodes\PR-RP.pwn(3145) : fatal error 107: too many error messages on one line
PHP код:
}
public 
OnPlayerResume(playeridtime)
{
    
KillTimer(Pausetimer[playerid]); line 3145
    SendClientMessage
(playeridCOLOR_WHITE"Welcome back!");
    return 
1;

Reply
#2

We need +20 lines up to check this, Pausetimer definition, and you need to make sure your braces are alright.
Reply
#3

you sure you have [MAX_PLAYERS]; after Pausetimer new? Like:
new Pausetimer[MAX_PLAYERS];
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)