Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Discussion
Threaded Mode
Default Player Colors
Deathlane
Big Clucker
Posts: 193
Threads: 17
Joined: Dec 2011
Reputation:
0
#1
14.04.2015, 14:26
Hello, is there an array available consisting of the default player HEX colors from ID 0 to 100?
I need it, and I hope you can help me.
Thanks!
Find
Reply
MP2
Godfather
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
#2
14.04.2015, 15:27
https://sampwiki.blast.hk/wiki/ColorFix
Find
Reply
BleverCastard
Gangsta
Posts: 845
Threads: 123
Joined: Dec 2011
Reputation:
0
#3
14.04.2015, 15:34
What do you mean "color fix"? Stupid question, but what's it do?
I've never seen ColorFix on the wiki.
Find
Reply
MP2
Godfather
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
#4
14.04.2015, 16:24
GetPlayerColor returns 0 (black) if the player's colour wasn't previously set with SetPlayerColor, so using that array you can set their colour beforehand.
The only place it's linked from on the wiki is here:
https://sampwiki.blast.hk/wiki/GetPlayerColor
(big red note).
Find
Reply
Deathlane
Big Clucker
Posts: 193
Threads: 17
Joined: Dec 2011
Reputation:
0
#5
15.04.2015, 03:07
Quote:
Originally Posted by
MP2
https://sampwiki.blast.hk/wiki/ColorFix
Oh! This is it! Thanks MP2!
Find
Reply
ChristolisTV
Big Clucker
Posts: 154
Threads: 23
Joined: Feb 2015
Reputation:
0
#6
05.06.2015, 18:45
I already have it on my server
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 4 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Discussion