Setcolour for ALL players function.
#6

This is not the place to ask for "examples", because this is Scripting Help, not Script for you.

The usual reason why the GetPlayerColor sets to black, is because the Color hasn't been set prior.


A good point is that he's using an Integer, where he should almost be using a string as it's a hex code that gets retrieved, and needs to be handed back to the script as a string so it can read it.

Try using SetPVarString and GetPVarString.
Reply


Messages In This Thread
Setcolour for ALL players function. - by Harty - 23.03.2016, 22:29
Re: Setcolour for ALL players function. - by Sew_Sumi - 23.03.2016, 22:41
Re: Setcolour for ALL players function. - by Harty - 23.03.2016, 22:43
Re: Setcolour for ALL players function. - by Golden96 - 23.03.2016, 22:47
Re: Setcolour for ALL players function. - by Harty - 23.03.2016, 23:06
Re: Setcolour for ALL players function. - by Sew_Sumi - 23.03.2016, 23:13
Re: Setcolour for ALL players function. - by Golden96 - 23.03.2016, 23:19
Re: Setcolour for ALL players function. - by Sew_Sumi - 23.03.2016, 23:29
Re: Setcolour for ALL players function. - by Golden96 - 23.03.2016, 23:36
Re: Setcolour for ALL players function. - by Sew_Sumi - 24.03.2016, 00:12

Forum Jump:


Users browsing this thread: 1 Guest(s)