07.10.2009, 18:07
Hey there.
I need to storage a name of a player somehow, and then set it back at a certain time. How to?
I need to storage a name of a player somehow, and then set it back at a certain time. How to?
new PlayerName[MAX_PLAYER_NAME], PlayerString[MAX_PLAYERS][MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(PlayerString[playerid], sizeof(PlayerString), "%s", PlayerName);
SetPlayerName(playerid, PlayerString[playerid]);