Commands
#6

Quote:
Originally Posted by Xtreme_playa
Посмотреть сообщение
pawn Код:
playerskin = GetPlayerSkin(playerid);
taken from wiki
I need help with another thing. I get this error:
pawn Код:
: warning 217: loose indentation
when i wirte:

pawn Код:
public OnPlayerSpawn(playerid)
{
    playerskin = GetPlayerSkin(playerid);
        if(playerskin == 1)
        {
            SendClientMessage(playerid, 0xFF0000FF, "Skin ID 4");
        }
        if(playerskin == 2)
        {
            SendClientMessage(playerid, 0xFF0000FF, "Skin ID 2");
        }
        if(playerskin == 3)
        {
            SendClientMessage(playerid, 0xFF0000FF, "Skin ID 3");
        }
        if(playerskin == 4)
        {
            SendClientMessage(playerid, 0xFF0000FF, "Skin ID 4");
        }
        if(playerskin == 5)
        {
            SendClientMessage(playerid, 0xFF0000FF, "Skin ID 5");
        }
        if(playerskin == 6)
        {
            SendClientMessage(playerid, 0xFF0000FF, "Skin ID 6");
        }
    return 1;
}
Reply


Messages In This Thread
Commands - by Swc20 - 16.02.2012, 07:06
Re: Commands - by T0pAz - 16.02.2012, 07:08
Re: Commands - by Swc20 - 16.02.2012, 11:45
Re: Commands - by Mark™ - 16.02.2012, 11:48
Re: Commands - by MinazAhmed - 16.02.2012, 12:36
Re: Commands - by Swc20 - 16.02.2012, 12:41
Re: Commands - by Konstantinos - 16.02.2012, 12:46
Re: Commands - by Swc20 - 16.02.2012, 13:56
Re: Commands - by Konstantinos - 16.02.2012, 14:01
Re: Commands - by Swc20 - 16.02.2012, 15:20

Forum Jump:


Users browsing this thread: 1 Guest(s)