14.03.2009, 18:19
uhhmm command problem is fixxed.. always that message comes and i do not get my skin i choosed, just cj skin
pawn Код:
if(strcmp(cmd, "/buyskin", true) == 0)
{
if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
{
new skin = strval(tmp);
if(!IsValidSkin(skin)) return SendClientMessage(playerid, COLOR_RED, "Skins not available!");
SetPlayerSkin(playerid, skin);
OnPlayerUpdateIG(playerid);
SendClientMessage(playerid, COLOR_RED, "Skin changed!");
}
else
{
SendClientMessage(playerid, COLOR_RED, "U r not in a Binco!");
}
return 1;
}