Registry help?
#1

ok, i FINALLY made a registration script, i want to make it so if a new player joins, it says Welcome please register, but also check if the player has registered before, if so saying Automaticly logged in!


my code.
Код:
new name[MAX_PLAYER_NAME];
	tmp = strtok(cmdtext, idx);
	GetPlayerName(playerid, name, sizeof(name));
	if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /register [password]");
	format(file,sizeof(file),"%s.ini",name);
Reply


Messages In This Thread
Registry help? - by -Rebel Son- - 04.03.2010, 16:23
Re: Registry help? - by Desert - 04.03.2010, 16:56
Re: Registry help? - by -Rebel Son- - 04.03.2010, 17:46
Re: Registry help? - by Desert - 04.03.2010, 18:10
Re: Registry help? - by -Rebel Son- - 04.03.2010, 18:18
Re: Registry help? - by -Rebel Son- - 04.03.2010, 19:15
Re: Registry help? - by Desert - 04.03.2010, 19:19
Re: Registry help? - by -Rebel Son- - 04.03.2010, 19:26
Re: Registry help? - by -Rebel Son- - 09.03.2010, 01:51

Forum Jump:


Users browsing this thread: 3 Guest(s)