30.05.2013, 09:29
It sets the player skin to CJ instead of ID I dont know why any help?
pawn Code:
new skinid;
CMD:clothes(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,10,217.3056,-97.9876,1005.2578))
{
SendClientMessage(playerid, COLOR_WHITE, "You Have bought new clothes.");
GivePlayerMoney(playerid,-100);
SetPlayerSkin(playerid, skinid);
}
else
{
SendClientMessage(playerid, COLOR_RED, "USAGE: /Clothes [SkinID]!");
}
return 1;
}