Save all nick's players
#7

DONE!
declaration:
Код:
new originalnick[MAX_PLAYERS][256];
get nick (OnPlayerConnect):
Код:
GetPlayerName(playerid,name,sizeof(name));
GetPlayerName(playerid,originalnick[playerid],sizeof(name));
OnPlayerDisconnect:
Код:
for(new i=0;i<MAX_PLAYERS;i++)
	{
	SetPlayerName(i, originalnick[i]);
	}
Thanks for your help!
Bye
Reply


Messages In This Thread
Save all nick's players - by Murd0cK - 06.07.2009, 09:32
Re: Save all nick's players - by dice7 - 06.07.2009, 09:49
Re: Save all nick's players - by Murd0cK - 06.07.2009, 10:01
Re: Save all nick's players - by refshal - 06.07.2009, 10:23
Re: Save all nick's players - by yom - 06.07.2009, 10:26
Re: Save all nick's players - by Murd0cK - 06.07.2009, 10:38
Re: Save all nick's players - by Murd0cK - 06.07.2009, 11:59
Re: Save all nick's players - by yom - 06.07.2009, 14:04
Re: Save all nick's players - by Murd0cK - 06.07.2009, 16:50

Forum Jump:


Users browsing this thread: 3 Guest(s)