how to change the player's name on spawn?
#3

PHP код:
public OnPlayerSpawn(playerid)
{
    new 
pName[MAX_PLAYER_NAME+1];
    
GetPlayerName(playeridpNameMAX_PLAYER_NAME);
    
strins(pName"%d_"pInfo[playerid][pRespect]);
    
SetPlayerName(playeridpName);

Not sure if it works, took it from here
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)