Skin help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Skin help (
/showthread.php?tid=273513)
Skin help -
Horrible - 02.08.2011
DELETED Sorry i Just little mistake
Re: Skin help -
Famalamalam - 02.08.2011
pawn Код:
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;
}
Re: Skin help -
=WoR=Varth - 02.08.2011
pawn Код:
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;
}