23.12.2014, 00:42
still not working
line 1299
all cmds
Quote:
D:\ffff\gamemodes\fast.pwn(1299) : warning 211: possibly unintended assignment D:\ffff\gamemodes\fast.pwn(1299) : error 029: invalid expression, assumed zero D:\ffff\gamemodes\fast.pwn(1299) : warning 215: expression has no effect D:\ffff\gamemodes\fast.pwn(1299) : error 001: expected token: ";", but found ")" D:\ffff\gamemodes\fast.pwn(1299) : error 029: invalid expression, assumed zero D:\ffff\gamemodes\fast.pwn(1299) : fatal error 107: too many error messages on one line |
Quote:
if(PlayerInfo[playerid][pRank] => 7) || if(PlayerInfo[playerid][pRank] =< { |
Quote:
CMDetrank(playerid, params[]) { new str[128], ARank, lookupid; if(PlayerInfo[playerid][pRank] => 7) || if(PlayerInfo[playerid][pRank] =< { if(sscanf(params, "ui", lookupid, ARank)) return SendClientMessage(playerid, -1, "Usage: /setrank <PlayerID/PlayerName> <Rank>"); format(str, sizeof(str), "Admin %s (ID:%d) has setted %s (ID:%d) Rank to (%d)",GetName(playerid), playerid, GetName(lookupid), lookupid, ARank); SendClientMessageToAll(-1, str); PlayerInfo[lookupid][pRank] = ARank; } } else SendClientMessage(playerid, -1, "Sorry , you are not admin"); return 1; } |