SA-MP Forums Archive
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: SetPlayerMarkerForPlayer (/showthread.php?tid=320763)



SetPlayerMarkerForPlayer - [TDL]OGLoc - 24.02.2012

Is there any function to for use that when somebody is shooting another it shows a marker for the TEAM_LSPD.

I have disable the markers on OnGameModeInit, i want only show a marker of the attaker and victim for the TEAM_LSPD.

This marker has to disappear when the an LSPD Member is near to him. From this point when they met face to face the marker disappear forever.

It's appear again if somebody shoots another.

I'm Clear?


Re: SetPlayerMarkerForPlayer - Boooth - 24.02.2012

Yes I spose you could add a checkpoint to a player in OnPlayerTakeDamage where the check would just be the players position.


Re: SetPlayerMarkerForPlayer - brett7 - 24.02.2012

Or you could add a map icon to the players position.


Respuesta: Re: SetPlayerMarkerForPlayer - [TDL]OGLoc - 24.02.2012

Quote:
Originally Posted by Boooth
Посмотреть сообщение
Yes I spose you could add a checkpoint to a player in OnPlayerTakeDamage where the check would just be the players position.
Yes that's what i do, i think that i know how to do it. If i do it good, i will add an tutorial on how to do it :B. Thanks!