I DO NOT CLAIM OWNERSHIP TO ANY OF THE CODE BELOW
I suppose I just wasn't clear enough, or was asking for too much. Sorry about that, I'll try to ask some simpler questions.
_____________________________________________ __________________
Code:
new Player[24]
read_argv(1, Player, 23)
new Password[24]
read_argv(2, Password, 23)
new PlayerID[24] = get_user_userid(Player)
remove_quotes(Player);
remove_quotes(Password);
remove_quotes(PlayerID);
new szFile[24]
format( szFile, 23, "addons/EntMod/DF_admins.txt")
write_file(szFile,"%s;%s;1 //%s",PlayerID,Password,Player,-1)
Will this code write the line below to a txt file in addons/EntMod (with strings in the place of the strings' names)? What mistakes am I making?
Code:
PlayerID;Password;1 //Player
_____________________________________________ _______________
I have more questions, but I'll stop here for now.