Rename player on spawn
#1
I'm try to rename player to custom name on spown. But, it's do not work for me.
Code:
cPluginManager.AddHook(cPluginManager.HOOK_PLAYER_SPAWNED, MyOnPlayerSpawned);

function MyOnPlayerSpawned(Player)
  Player:SetCustomName("CustomName");
  Player:SetName("CustomName2");
end
Reply
Thanks given by:


Messages In This Thread
Rename player on spawn - by DrMasik - 09-17-2015, 03:27 AM
RE: Rename player on spawn - by DrMasik - 09-17-2015, 04:49 AM
RE: Rename player on spawn - by xoft - 09-17-2015, 06:10 AM
RE: Rename player on spawn - by DrMasik - 09-17-2015, 03:31 PM
RE: Rename player on spawn - by xoft - 09-17-2015, 07:59 AM



Users browsing this thread: 1 Guest(s)