dialogs newbie :D +rep for help
#1

anyone can change these cmds to dialog cmds.i m newbie .when i tryed it showing me only last line..+1 rep for helper
PHP код:
CMD:cmds(playeridparams[])
{
    
SendClientMessage(playerid0xF8EA73FF"*COMMANDS:");
    
SendClientMessage(playerid0xF8EA73FF"*/Ranks, /Rank, /Kill, /Rules, /Stats, /Jp, /Dis, /Shelp for support class commands, /Sp");
    
SendClientMessage(playerid0xF8EA73FF"*/Help, /Pm, /R [text] to talk to your team, /Ep, /Anims, /Laseron, /Lasercol, /Spree, /Getid, /Disguise");
    
SendClientMessage(playerid0xF8EA73FF"*/Richlist, /Sync, /Rpm, /Radiohelp, /Order [text], /Dcmds, /S [test], /Dnd, /Switchclass, /Airstrike");
    
SendClientMessage(playerid0xF8EA73FF"*/Operators, /Admins, /Donors, /Cmds, /St, /Sc, /Switchteam, /Objective, /Teams, /Savestats, /Givegun, /As");
    
SendClientMessage(playerid0xF8EA73FF"*/Changename, /Changepass, /Streak, /Notes, /GM, /Chelp, /Prestige, /Times, /Nukehelp, /SAMSites, /Laser, /Spawnpoint, /Hit");
    return 
true;

Reply
#2

I've made a tutorial about dialogs here.
Anyways, here you go.

PHP код:
CMD:cmds(playeridparams[]) 

    new 
pDialog[1000];
    
strcat(pDialog"/Ranks, /Rank, /Kill, /Rules, /Stats, /Jp, /Dis, /Shelp for support class commands, /Sp\n",sizeof(pDialog));
    
strcat(pDialog"/Help, /Pm, /R [text] to talk to your team, /Ep, /Anims, /Laseron, /Lasercol, /Spree, /Getid, /Disguise\n",sizeof(pDialog));
    
strcat(pDialog"/Richlist, /Sync, /Rpm, /Radiohelp, /Order [text], /Dcmds, /S [test], /Dnd, /Switchclass, /Airstrike\n",sizeof(pDialog));
    
strcat(pDialog"/Operators, /Admins, /Donors, /Cmds, /St, /Sc, /Switchteam, /Objective, /Teams, /Savestats, /Givegun, /As\n",sizeof(pDialog));
    
strcat(pDialog"/Changename, /Changepass, /Streak, /Notes, /GM, /Chelp, /Prestige, /Times, /Nukehelp, /SAMSites, /Laser, /Spawnpoint, /Hit\n",sizeof(pDialog));
    
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"Commands"pDialog"Ok""");
    return 
true

Reply
#3

thanks +1 rep u know about textdraws ;; i know u r old in cod gm,s is nt u?
Reply
#4

Quote:
Originally Posted by sanamalik400
Посмотреть сообщение
thanks +1 rep u know about textdraws ;; i know u r old in cod gm,s is nt u?
Yeah Thanks.
Reply
#5

hey u know about clickable textdraws instead of dialogs ?
i have textdraws and they are selectable but they didnt working
Reply
#6

Well, i don't really work with textdraws, but still here Click here!

Anyways, if you need further help, PM me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)