Quote:
Originally Posted by shaPP
pawn Код:
CMD:move(playerid, params[]) { if(IsPlayerConnected(playerid)) { new Float:pX, Float:pY, Float:pZ; if(sscanf(params, "fff", pX, pY, pZ); { SendClientMessage(playerid, "Usage: /move [FloatX] [FloatY] [FloatZ]"); return 1; } } return 1; }
CMD:colete(playerid, params[]) { #pragma unused params if(IsPlayerConnected(playerid)) { SetPlayerArmour(playerid, 100); } return 1; }
|
thanks but, not that, he meant the 'else'...
pawn Код:
else
{
SendClientMessage(playerid, -1, "Invalid command!!!");
}