Making everyones name white?
#1

Hi, how would i make everyones nametag be white when they connect/spawn? Like in a DM server, peoples nametags may be white, red, purple, etc., but on a RP server you always see peoples nametags as white only, how would i set this please? Unless it's a simple edit on my part in "onPlayerSpawn", etc.

Thanks. I don't think i need to post any sort of code as i would expect it to be a simple edit but i can't figure it out.
Reply
#2

Usually the OnPlayerText is custom for RP servers, and the player colour isn't even used. https://sampwiki.blast.hk/wiki/SetPlayerColor - use 0xFFFFFFFF to get white colour
Reply
#3

Under OnPlayerConnect add SetPlayerColor(playerid,0xFFFFFFFF)
Reply
#4

Thanks alot

Though putting it under the OnPlayerText callback didn't do anything, so i just placed it under onPlayerConnect and onPlayerSpawn
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)