02.05.2018, 19:34
Код:
forward CheckTimer(); public CheckTimer() { new string[256]; if(RestartTime > 0 ){ RestartTime --; if(RestartTime/60 >1) format(string, sizeof(string)), "Restart-ul se va da peste ~y~%d minute~w~~n~Motiv: %s", RestartTime/60, RestartReason); else if(RestartTime/60 == 1) format(string, sizeof(string)), "Restart-ul se va da peste ~y~%d minute~w~~n~Motiv: %s", RestartTime/60, RestartReason); else if(RestartTime/60 == 0)format(string, sizeof(string)), "Restart-ul se va da peste ~y~%d minute~w~~n~Motiv: %s", RestartTime/60, RestartReason); TextDrawSetString(RestartTD, string); TextDrawShowForAll(RestartTD); if(RestartTime == 5) KickAll(); if(RestartTime == 0) GameModeExit(); } return 1; }
D:\server\gamemodes\ExtremeGame.pwn(22319) : warning 215: expression has no effect
D:\server\gamemodes\ExtremeGame.pwn(22319) : warning 215: expression has no effect
D:\server\gamemodes\ExtremeGame.pwn(22319) : warning 215: expression has no effect
D:\server\gamemodes\ExtremeGame.pwn(22319) : error 001: expected token: ";", but found ")"
D:\server\gamemodes\ExtremeGame.pwn(22319) : error 029: invalid expression, assumed zero
D:\server\gamemodes\ExtremeGame.pwn(22319) : warning 215: expression has no effect
help please