PDA

View Full Version : [Question] SetPlayerMarkerForPlayer


Brooks1
30/11/2014, 01:30 PM
I have a question about SetPlayerMarkerForPlayer. I want to make a command that visible only the players who called to taxi. I use SetPlayerMarkerForPlayer, but there is a little problem. The function sets the color for the player, but when I'm near to the player his color becomes the original (who is set by SetPlayerColor). How I can solve this ?

Sorry for my bad English.

AnthonyTimmers
30/11/2014, 01:40 PM
Where do you use SetPlayerColor? Is it perhaps looping? Or do you set it back on arrival and have you put the radius too high?

Brooks1
30/11/2014, 01:50 PM
I use SetPlayerColor in OnPlayerSpawn
No, I didn't set it back on arrival and I didn't set any radius.

AnthonyTimmers
30/11/2014, 01:59 PM
And the color only goes back when you get close? Or does it also turn back to normal after a specific time of waiting?

Brooks1
30/11/2014, 02:03 PM
The color on goes back when I get close.

AnthonyTimmers
30/11/2014, 02:07 PM
Alright, please show some code regarding this taxi function.