Quote:
Originally Posted by clarencecuzz
pawn Код:
CMD:skin(playerid, params[]) { new id; if (sscanf(params, "d", id)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /Skin [ID]"); if(id < 0 || id > 299) return SendClientMessage(playerid,RED,"Wrong Skin ID"); else { SetPlayerSkin(playerid,id); } return 1; }
|
What kind of bullshit is that?
He already has a return after his is statement, so there is no reason for a else statement.
The way he had it seemed to be perfectly fine