Save player color as hex value for database
#1

Okay basically I'm making a Live chat by storing the players text / name in the database, then use php / ajax to retrieve it

The problem I'm having is I'm trying to save the players color in the database, as a hex value but GetPlayerColor(playerid) only returns a decimal value!

Could someone show / explain how this would be achieved?

Thanks
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=218179
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)