SA-MP Forums Archive
Only for pD - 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: Only for pD (/showthread.php?tid=603339)



Only for pD - StR_MaRy - 21.03.2016

hy guys how can i do when some1 get wanted only cops can see his name with red , after some1 from cops kills him his nick name will get back to his color from civil or faction tutorial or some ideas?


Re: Only for pD - Joron - 21.03.2016

Easy but the first part is kindah impossible i think...
When a player gets a wanted level set his color to red
make a arrest command that sends the player to jail while in jail set his wanted level back to zero
and set back his color as he were as a civilian..


Re: Only for pD - Abagail - 21.03.2016

Use SetPlayerMarkerForPlayer. Make sure you take in to account cops logging in afterwards and such.