06.08.2009, 18:11
Hey Community...
Here i go again with another question:
Today i just tried to paste the Id of the Player into his name, and used this code:
It doesnt give me Errors or warnings, but the problem is, that it doesnt work :/
Pls tell me what i did wrong!
Greetings from Germany,
DeathOnaStick
Here i go again with another question:
Today i just tried to paste the Id of the Player into his name, and used this code:
Код:
public OnPlayerSpawn(playerid) { new CurrentName[MAX_PLAYER_NAME]; new CurrentID; new NewName[128]; GetPlayerName(playerid,CurrentName,sizeof(CurrentName)); CurrentID = GetPlayerID("CurrentName"); format(NewName,sizeof(NewName),"%s[%i]",CurrentName,CurrentID); SetPlayerName(playerid,NewName); return 1; }
Pls tell me what i did wrong!
Greetings from Germany,
DeathOnaStick