- 0
Ajutor dialog
-
Similar Content
-
- 0 replies
- 1,093 views
-
- 1 reply
- 212 views
-
- 3 replies
- 112 views
-
- 4 answers
- 219 views
-
- 3 replies
- 95 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
JilavaXXL
Am un dialog care arata asa [pawn]if (strcmp("/styles", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,Dialog_Styles,DIALOG_STYLE_LIST,"{FF66FF}Meniu stiluri lupta","Boxing\nKung Fu\nKnee Head\nGrab Kick\nElbow\nNormal","Select", "Cancel");
return 1;
}[/pawn]
si
[pawn]{
if(dialogid == 1)
{
if(response)
{
if(listitem == 0)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
}
if(listitem == 1)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
}
if(listitem == 2)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
}
if(listitem == 3)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);
}
if(listitem == 4)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW);
}
if(listitem == 5)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL);
}
}
}[/pawn]
nu nu imi nici o eroare iar cand intru pe server scriu /styles si imi merge..dar cand selectez ceva cum lovesc cu stilul de lupta respectiv ???? parca era F+click pe serverele pe care ma jucam..dar nu merge,,:(
Link to comment
Share on other sites
2 answers to this question
Recommended Posts