SA-MP Forums Archive
i need a skin menu - 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: i need a skin menu (/showthread.php?tid=250255)



i need a skin menu - EDR Clan - 22.04.2011

hi all. i need a skin menu, example /skin [skinID], someone helps me want to be. PWN, i'm beginner
I tried the "search" but No REsult


Deleted - SERBIAN - 22.04.2011

Deleted


Re: i need a skin menu - EDR Clan - 22.04.2011

pls in .pwn file


Re: i need a skin menu - [DJ]Boki - 22.04.2011

pawn Код:
if(strcmp(cmd, "/setskin", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GOLD, "USAGE: /setskin [playerid/PartOfName] [skin id]");
return 1;
}
new para1;
new level;
para1 = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
level = strval(tmp);
if(level > 299 || level < 1) { SendClientMessage(playerid, COLOR_GROVE, "Wrong ID"); return 1; }
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(IsPlayerConnected(para1))
{
if(para1 != INVALID_PLAYER_ID)
{
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pChar] = level;
format(string, sizeof(string), "Your skin was changed by admin %s", sendername);
SendClientMessage(para1, COLOR_GOLD, string);
format(string, sizeof(string), "You gived %s skin %d.", giveplayer,level);
SendClientMessage(playerid, COLOR_GOLD, string);
SetPlayerSkin(para1, PlayerInfo[para1][pChar]);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not autorized to use this command");
}
}
return 1;
}



Re: i need a skin menu - EDR Clan - 22.04.2011

pwn file with download and #define Color_Grove etc with all


Re: i need a skin menu - EDR Clan - 22.04.2011

anybody? quick, plssssssssssss


Re: i need a skin menu - misho1 - 22.04.2011

pawn Код:
if(strcmp(cmdtext, "/skin", true) == 0)
    {
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Skin ID Selection", "Please type the Skin ID [0-299]", "Select", "Cancel");
    return 1;
    }



Re: i need a skin menu - EDR Clan - 22.04.2011

error 030: compound statement not closed at the end of file (started at line 5)


Re: i need a skin menu - Kitten - 22.04.2011

You guys got to be fuckin serious can you guys search or just dumb?
https://sampforum.blast.hk/showthread.php?tid=106274
https://sampforum.blast.hk/showthread.php?tid=225082
https://sampforum.blast.hk/showthread.php?tid=225082


Re: i need a skin menu - Mean - 22.04.2011

Omg you just post copies... Not codes you made...


Re: i need a skin menu - EDR Clan - 22.04.2011

Quote:
Originally Posted by [DJ]Boki
Посмотреть сообщение
use #endif at the botto
TNX so MUch


Re: i need a skin menu - EDR Clan - 22.04.2011

Quote:
Originally Posted by Kitten
Посмотреть сообщение
man, this Links With skin menu dont contains all skins