07.07.2015, 20:13
Код:
if(dialogid == DIALOG_REGISTER) { if (!response) return PlayerInfo[playerid][pLogged] = 0; if(response) { if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_WHITE"Registering",""COL_RED"You have entered an invalid password.\n"COL_WHITE"Type your password below to register a new account.","Register","Quit"); new INI:File = INI_Open(UserPath(playerid)); INI_SetTag(File,"data"); INI_WriteInt(File,"Password",udb_hash(inputtext)); INI_WriteInt(File,"Cash",0); INI_WriteInt(File,"Admin",0); INI_WriteInt(File,"Vip",0); INI_WriteInt(File,"Score",0); INI_WriteInt(File,"Skin",0); INI_WriteInt(File,"Banned",0); INI_WriteInt(File,"IP", 0); INI_WriteInt(File,"Kills",0); INI_WriteInt(File,"Deaths",0); INI_WriteInt(File,"Weather",0); INI_WriteInt(File,"Time",0); INI_WriteInt(File,"SaveSkin",0); INI_WriteInt(File,"UseSkin",0); INI_WriteInt(File,"MFEP",0); INI_WriteInt(File,"Muted",0); INI_WriteInt(File,"Pms",0); INI_WriteInt(File,"Gos",0); INI_WriteInt(File,"God",0); INI_WriteInt(File,"Deathmatch Score",0); INI_WriteInt(File,"Jail",0); INI_WriteInt(File,"MuteTime",0); INI_WriteInt(File,"cage",0); INI_WriteInt(File,"Freeze",0); INI_WriteInt(File,"Banned",0); INI_WriteInt(File,"Invisible",0); INI_Close(File); PlayerInfo[playerid][pLogged] = 1; SetSpawnInfo(playerid, 0, 0, -1680.1483,706.0532,30.6016,90.9011, 0, 0, 0, 0, 0, 0); ForceClassSelection(playerid); } }
Код:
Input:kkkkkkok Output: 253494109