05.05.2015, 10:58
Quote:
If you remove "return" the if statement should be like
Код:
if(skinid < 0 || skinid > 311) { SendClientMessage(playerid, -1, "Don't go lower than 0, or higher than 311"); } else { SetPlayerSkin(playerid, skinid); } |
Код:
if(skinid < 0 || skinid > 311) return SendClientMessage(playerid, -1, "Don't go lower than 0, or higher than 311"); SetPlayerSkin(playerid, skinid); // Just two lines :D