Help Converting Dialog To CMD
#2

Quote:
Originally Posted by Hal
Посмотреть сообщение
Hey pro scripter, if i pay you can you fix the problem i have in the topic above me?
Hey asshole, can you help people or just flame?

You need to create the commands, use dcmd or zcmd. When finished it will look something like this (this code is untested):

Код:
public OnPlayerCommandText(playerid, cmdtext[]) {
     dcmd(login, 5, cmdtext);
     dcmd(register, 8, cmdtext);

     return 1;
}

dcmd_login(playerid, params) {
     ShowPlayerDialog(playerid,201,DIALOG_STYLE_INPUT,"Registration",Please enter a password to register this account!","Register","Cancel");

     return 1;
}

dcmd_register(playerid, params) {
     ShowPlayerDialog(playerid,200,DIALOG_STYLE_INPUT,"Login","Please enter a password to login to this account!","Login","Cancel");

     return 1;
}
Reply


Messages In This Thread
Help Converting Dialog To CMD - by Guest3598475934857938411 - 28.09.2010, 20:52
Re: Help Converting Dialog To CMD - by samgreen - 29.09.2010, 04:34
Re: Help Converting Dialog To CMD - by LarzI - 29.09.2010, 06:43
Re: Help Converting Dialog To CMD - by Rachael - 29.09.2010, 06:51
Re: Help Converting Dialog To CMD - by LarzI - 29.09.2010, 06:53
Re: Help Converting Dialog To CMD - by Rachael - 29.09.2010, 06:59
Re: Help Converting Dialog To CMD - by LarzI - 29.09.2010, 07:02
Re: Help Converting Dialog To CMD - by samgreen - 29.09.2010, 07:05
Re: Help Converting Dialog To CMD - by Rachael - 29.09.2010, 14:43
Re: Help Converting Dialog To CMD - by Guest3598475934857938411 - 29.09.2010, 15:11

Forum Jump:


Users browsing this thread: 2 Guest(s)