02.08.2011, 02:44
DELETED Sorry i Just little mistake
CMD:skin(playerid, params[])
{
new string[128], skinid;
if(sscanf(params, "d", skinid))
{
SendClientMessage(playerid, COLOR_WHITE, "Usage: /skin [skinID]");
}
else
{
SetPlayerSkin(playerid, skinid);
format(string, sizeof(string), "You have Try Skin ID : %d", skinid);
SendClientMessage(playerid, COLOR_WHITE, string);
SendClientMessage(playerid, COLOR_GREEN, "You Already Try Skin type /buyskin to buy it");
SetPVarInt(-1,"test",3);
}
return 1;
}
CMD:skin(playerid, params[])
{
new string[35], skinid;//No need for big length
if(sscanf(params, "d", skinid)) return SendClientMessage(playerid, COLOR_WHITE, "Usage: /skin [skinID]");
else
{
SetPlayerSkin(playerid, skinid);
format(string, sizeof(string), "You have Try Skin ID : %d", skinid);
SendClientMessage(playerid, COLOR_WHITE, string);
SendClientMessage(playerid, COLOR_GREEN, "You Already Try Skin type /buyskin to buy it");
SetPVarInt(-1,"test",3);
}
return 1;
}