cmd: register
#1

Removed, thanks for the help!
Reply
#2

Instead of using inputtext use params (implying dcmd/zcmd/ycmd), simple as that.

In prior to performing /register command, check if the account already exists and/or is already logged in, if yes, simply halt the command.
Reply
#3

Removed
Reply
#4

Heres my.

pawn Код:
CMD:register(playerid, params[])
{
    #pragma unused params
    if(pInfo[playerid][Regged] == 1) return SendClientMessage(playerid, COLOR_RED, "Your Account Is Already Registered.");
    return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Register", "This account is not registered.\nType in your password to register:", "Register", "Cancel");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)