cmd: register - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: cmd: register (
/showthread.php?tid=420205)
cmd: register -
Fernado Samuel - 03.03.2013
Removed, thanks for the help!
Re: cmd: register -
Mmartin - 03.03.2013
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.
Re: cmd: register -
Fernado Samuel - 04.03.2013
Removed
Re: cmd: register -
Ananisiki - 04.03.2013
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");