CMD:ranks(playerid,params[])
{
SendClientMessage(playerid,GREEN,"*Rookie : 0 Score");
SendClientMessage(playerid,GREEN,"**Private : 150 Score");
SendClientMessage(playerid,GREEN,"***Corporal : 250 Score");
SendClientMessage(playerid,GREEN,"****Sergeant : 350 Score");
SendClientMessage(playerid,GREEN,"*****Captain : 500 Score");
SendClientMessage(playerid,GREEN,"******Brigadier : 750 Score");
SendClientMessage(playerid,GREEN,"*******General : 1200 Score");
SendClientMessage(playerid,GREEN,"********Commander : 2000 Score");
return 1;
}
ShowPlayerDialog(playerid,5648,DIALOG_STYLE_MSGBOX,"Rank List","*Rookie : 0 Score\n\
**Private : 150 Score\n\
***Corporal : 250 Score\n\
****Sergeant : 350 Score\n\
*****Captain : 500 Score\n\
******Brigadier : 750 Score\n\
*******General : 1200 Score\n\
********Commander : 2000 Score","Ok","");
==> hey guys How can i show this cmd in dialog menu??
pawn Код:
|
ShowPlayerDialog(playerid,1337,DIALOG_STYLE_MSGBOX,"RANKS","*Rookie : 0 Score\n**Private : 150 Score\n***Corporal : 250 Score\n****Sergeant : 350 Score\n*****Captain : 500 Score\n******Brigadier : 750 Score\n*******General : 1200 Score\n********Commander : 2000 Score","Close","");
ShowPlayerDialog(playerid,1337,DIALOG_STYLE_MSGBOX,"RANKS","{008000}*Rookie : 0 Score\n**Private : 150 Score\n***Corporal : 250 Score\n****Sergeant : 350 Score\n*****Captain : 500 Score\n******Brigadier : 750 Score\n*******General : 1200 Score\n********Commander : 2000 Score","Close","");
CMD:ranks(playerid,params[]) { ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"RANKS","{008000}*Rookie : 0 Score\n**Private : 150 Score\n***Corporal : 250 Score\n****Sergeant : 350 Score\n*****Captain : 500 Score\n******Brigadier : 750 Score\n*******General : 1200 Score\n********Commander : 2000 Score","Close",""); return 1; }
ShowPlayerDialog(playerid, 12345, DIALOG_STYLE_MSGBOX, "*Rookie : 0 Score\n**Private : 150 Score\n***Corporal : 250 Score\n****Sergeant : 350 Score\n*****Captain : 500 Score\n******Brigadier : 750 Score\n*******General : 1200 Score\n********Commander : 2000 Score", "OK" , "");
Код:
CMD:ranks(playerid,params[]) { ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"*Rookie : 0 Score"); ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"**Private : 150 Score"); ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"***Corporal : 250 Score"); ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"****Sergeant : 350 Score"); ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"*****Captain : 500 Score"); ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"******Brigadier : 750 Score"); ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"*******General : 1200 Score"); ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"********Commander : 2000 Score"); return 1; } ![]() |
not really in my gamemode its on dialog response thats y i have so many lol but all diffrent :P
and mine gose from 1 to 8 witch is y i says to him just change the numbers to what ever he wants |
that would not work !
if you mean open the dialgos in sequence like Dialog ID: 1,2,3,4,5.... the last dialog will only open becosue it will oveflow the others ! |