15.03.2013, 08:38
Quote:
Oh well, yeah that's correct. May I see the register dialog?
Try using if(fail == failvaluetokick) and not if(fail) |
Код:
if(dialogid == dialog_register) { new Pname[MAX_PLAYER_NAME]; new name[MAX_PLAYER_NAME + 4]; new password[30]; GetPlayerName(playerid,Pname,sizeof(Pname)); format(name,sizeof(name),"%s.txt",Pname); format(password,sizeof(password),"Password:%s|",inputtext); fcreate(name); new File:input = fopen(name,io_write); fwrite(input,password); fclose(input); }