Color save
#1

Hi all,i am using luxAdmin system for my server and would like to save player's color on them disconnect,and when the login again then they will get them last color. What code to add on fs??
Reply
#2

someone??
Reply
#3

Don't bump your topic in the space of 15 minutes, just wait for someone to reply to you. There is other people that need help too.

Why not try GetPlayerColor under OnPlayerDisconnect and save it via what ever saving system you use, whether it would be ini, yini, mysql.. save it and when the player logs in, retrieve that information again and use SetPlayerColor under OnPlayerConnect once the server has retrieved the data.
Reply
#4

ok thanks liam
Reply
#5

Quote:
Originally Posted by jimis
Посмотреть сообщение
ok thanks liam
No problem, mate. Any time, if you have any other problems just shoot!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)