25.10.2014, 08:57
Use this to avoid people setting "asdasdasdsdads" as email :P
Код:
new First[30], Second[15], Third[4]; if(sscanf(inputtext, "p<@>s[30]P<.>s[15]s[4]",First, Second, Third)) return ShowPlayerDialog(playerid, 6, DIALOG_STYLE_INPUT,"Register:", "Error: Your Email format seems to be wrong. \nWrite your email address.\nExemplu: my_email@yahoo.com","OK", "");