08.12.2012, 10:07
Dear Benzo,
Do you know how to solve these errors?
This is the script:
Do you know how to solve these errors?
Код:
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(26722) : warning 215: expression has no effect C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(26722) : error 001: expected token: ";", but found ")" C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(26722) : error 029: invalid expression, assumed zero C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(26722) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
Код:
if(strcmp(cmd, "/robcityhall", true) == 0) { new success = random(2); if(CityHallRobbedRecently = 1); //26722 { SendClientMessage(playerid, COLOR_GREY, "* This location was robbede recently, try again later"); return 1; } if(PlayerInfo[playerid][pRobTime] >= 1) { SendClientMessage(playerid, COLOR_GREY, "* You already attempted or robbed a place recently, please wait."); return 1; }