From Menu To List!!
#1

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");
Reply
#2

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.
Reply
#3

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
Reply
#4

pawn Код:
ClearAnimations(playerid);
Reply
#5

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
pawn Код:
ClearAnimations(playerid);
playerid or ID ?? coz i use it in an uncuff [ID] coz its a CNR
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)