How to make /Skin [ID]????
#13

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
Reply


Messages In This Thread
How to make /Skin [ID]???? - by Audi_Quattrix - 13.07.2012, 13:55
Re: How to make /Skin [ID]???? - by JaKe Elite - 13.07.2012, 13:58
Re: How to make /Skin [ID]???? - by Devilxz97 - 13.07.2012, 14:00
Re: How to make /Skin [ID]???? - by leonardo1434 - 13.07.2012, 14:03
Re: How to make /Skin [ID]???? - by PawnFox - 13.07.2012, 14:04
Re: How to make /Skin [ID]???? - by Audi_Quattrix - 13.07.2012, 16:35
Re: How to make /Skin [ID]???? - by clarencecuzz - 13.07.2012, 17:24
Re: How to make /Skin [ID]???? - by NuLIO - 13.07.2012, 17:44
AW: Re: How to make /Skin [ID]???? - by Nero_3D - 13.07.2012, 17:54
Re: How to make /Skin [ID]???? - by NuLIO - 13.07.2012, 18:12
Re: How to make /Skin [ID]???? - by Raggae1998 - 13.07.2012, 18:24
Re: How to make /Skin [ID]???? - by Audi_Quattrix - 13.07.2012, 18:26
Re: How to make /Skin [ID]???? - by milanosie - 13.07.2012, 18:27

Forum Jump:


Users browsing this thread: 1 Guest(s)