SA-MP Forums Archive
cop label question - 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: cop label question (/showthread.php?tid=316320)



cop label question - Tigerkiller - 06.02.2012

Hi Community.

I want to know how to Update a 3d Text.
I know how to show an admin a 3d text on a player like ip but how to update it ?

heres an example
killer hasnt any wanteds, a cops streamed in, and he kill another one. the killer got a wanted, but how to update it for this case that the cop can see that he has a wanted ?


is OnPlayerStreamedIn called once or every second for streamed ?


Re: cop label question - MP2 - 06.02.2012

OnPlayerStreamedIn is called when the player 'appears' for another player, when they get within the stream distance.

To update a 3D text label: https://sampwiki.blast.hk/wiki/Update3DTextLabelText


AW: cop label question - Tigerkiller - 06.02.2012

ye but how to update it ? cop is in range of stream and now how to update it i tryed it with update but doesnt work.

can someon give me an example ?


Re: cop label question - [ABK]Antonio - 06.02.2012

Update it when they kill someone


AW: cop label question - Tigerkiller - 06.02.2012

ye but when he streams in and kill someone and i update it then the cop see the wanted ?