SA-MP Forums Archive
[Question] SetPlayerMarkerForPlayer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Question] SetPlayerMarkerForPlayer (/showthread.php?tid=548533)



[Question] SetPlayerMarkerForPlayer - Brooks1 - 30.11.2014

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.


Re: [Question] SetPlayerMarkerForPlayer - AnthonyTimmers - 30.11.2014

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?


Re: [Question] SetPlayerMarkerForPlayer - Brooks1 - 30.11.2014

I use SetPlayerColor in OnPlayerSpawn
No, I didn't set it back on arrival and I didn't set any radius.


Re: [Question] SetPlayerMarkerForPlayer - AnthonyTimmers - 30.11.2014

And the color only goes back when you get close? Or does it also turn back to normal after a specific time of waiting?


Re: [Question] SetPlayerMarkerForPlayer - Brooks1 - 30.11.2014

The color on goes back when I get close.


Re: [Question] SetPlayerMarkerForPlayer - AnthonyTimmers - 30.11.2014

Alright, please show some code regarding this taxi function.