From Menu To List!! - 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)
+--- Thread: From Menu To List!! (
/showthread.php?tid=410361)
From Menu To List!! -
nor15 - 25.01.2013
i got when player spawn they got a menu to choose skill , but i wanna change it to List not a menu
the Code is
Код:
SkillMenu = CreateMenu("~b~Skill ~w~Selection",1,15,150,200);
SetMenuColumnHeader(SkillMenu , 0, "~w~Please select your skill");
AddMenuItem(SkillMenu,0,"Rapist");
AddMenuItem(SkillMenu,0,"Drug Dealer");
AddMenuItem(SkillMenu,0,"Weapon Dealer");
AddMenuItem(SkillMenu,0,"Hitman");
AddMenuItem(SkillMenu,0,"Car Jacker");
AddMenuItem(SkillMenu,0,"Kidnapper");
AddMenuItem(SkillMenu,0,"Thief");
AddMenuItem(SkillMenu,0,"Terrorist");
Re: From Menu To List!! -
DaRk_RaiN - 25.01.2013
pawn Код:
ShowPlayerDialog(playerid, 20, DIALOG_STYLE_LIST, "Skill Selection\nPlease select your skill", "{264AD9}Rapist\n{F7F709}Drug Dealer\n{00FF4D}Weapon Dealer\n{909090}Hitman\n{FF0033}Car Jacker\n{264AD9}Kidnapper\n{909090}Thief\n{F7F709}Terrorist", "Select", "");
//I made it colorful too.
Re: From Menu To List!! -
nor15 - 25.01.2013
Quote:
Originally Posted by DaRk_RaiN
pawn Код:
ShowPlayerDialog(playerid, 20, DIALOG_STYLE_LIST, "Skill Selection\nPlease select your skill", "{264AD9}Rapist\n{F7F709}Drug Dealer\n{00FF4D}Weapon Dealer\n{909090}Hitman\n{FF0033}Car Jacker\n{264AD9}Kidnapper\n{909090}Thief\n{F7F709}Terrorist", "Select", ""); //I made it colorful too.
|
thanks , i wanna another question when i cuff i made the special action of cuff when i uncuff , the player can move but the animation is still applying on the player
Re: From Menu To List!! -
DaRk_RaiN - 25.01.2013
pawn Код:
ClearAnimations(playerid);
Re: From Menu To List!! -
nor15 - 25.01.2013
Quote:
Originally Posted by DaRk_RaiN
pawn Код:
ClearAnimations(playerid);
|
playerid or ID ?? coz i use it in an uncuff [ID] coz its a CNR