17.03.2014, 07:34
Warning >
Command>
Line 2401
pawn Код:
(2401) : warning 225: unreachable code
pawn Код:
CMD:giveallcash(playerid, params[])
{
new value;
if(pInfo[playerid][pAdmin] < 6) return SendClientMessage(playerid, COLOR_RED,"[ERROR]: "WHITE"You are not authorized to use this command.");
if(sscanf(params, "d", value) != 0) SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /giveall [Amount]"); return 1;
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GivePlayerMoney(i, value);
}
}
return 1;
}
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)