Code help.
#1

Hello i am using the callback OnPlayerWeaponShot and and i added a function which mark the players.
But i want to make the function always, doesnґt matter if he shot objects players or nothing, just if he shot.
How i can do this1?
Reply
#2

Use SetPlayerMarkerForPlayer under OnPlayerWeaponShot, it'll detect if they've shot as soon as they do, then mark them on the map.
Reply
#3

Quote:
Originally Posted by RedCounty
Посмотреть сообщение
Use SetPlayerMarkerForPlayer under OnPlayerWeaponShot, it'll detect if they've shot as soon as they do, then mark them on the map.
I did it already, but only mark players when get hitteds.
Reply
#4

Why don't just use ShowPlayerMarkers?
Reply
#5

Quote:
Originally Posted by oMa37
Посмотреть сообщение
Why don't just use ShowPlayerMarkers?
Because i have a TDM server, and i want to make if someone player shot, he will appear in the enemy radar for 3 seconds.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)