04.10.2013, 15:52
pawn Код:
GameTextForPlayer(playerid,"~g~Skin Changed",2000,3);
pInfo[playerid][Skin] = modelid; // Assign the new skinid there.
SetPVarInt(playerid,"Useskin", 1);
GetPlayerSkin(playerid);
SetPlayerSkin(playerid, modelid);
pawn Код:
if(IsPlayerConnected(playerid))
{
// code
}
else return ShowMessage(playerid, red, 2);