11.03.2011, 00:32
Quote:
im trying to make an /oskin so if u use it, first time your skin will be 114 then 115, 116 after 114.
but when i do /oskin it changes to skin 116 please help JAtoch. i wanna add 3skins on /oskin pawn Код:
|
pawn Код:
if(gTeam[playerid] == 1)
{
if(!GetPVarInt(playerid,"pSkinned"))
{
}
else
{
}
}
else
{
}
pawn Код:
COMMAND:oskin(playerid, params[])
{
#pragma unused params
if(gTeam[playerid] == 1)
{
switch(GetPlayerSkin(playerid))
{
case 114: SetPlayerSkin(playerid, 115);
case 115: SetPlayerSkin(playerid, 116);
default: SetPlayerSkin(playerid, 114);
}
SendClientMessage(playerid, green, "You had changed your SKIN!");
}
return true;
}