30.03.2011, 19:27
new NewName[MAX_PLAYER_NAME];
format(NewName,sizeof(NewName),"[%s]%s",params,pName(player1));
SetPlayerName(player1,NewName);
(Remember max player name lenght is 20. And if you are using a register/login system you should be sure the name has been changed back to the old name before the player get saved , else it will cause problems.
format(NewName,sizeof(NewName),"[%s]%s",params,pName(player1));
SetPlayerName(player1,NewName);
(Remember max player name lenght is 20. And if you are using a register/login system you should be sure the name has been changed back to the old name before the player get saved , else it will cause problems.