Offset coordinates of player aiming to another player
#1

Hi,

How to get offset coordinates when you are aiming at another player?
Reply
#2

Have a look at this.
Reply
#3

Here just target player id.
Reply
#4

The target is the another player, If you want the target to be everyone except the player( obv ) then loop through all players.
Reply
#5

I ask for coordinates about what shit you are talking?
Reply
#6

Learn English then. Do you want to get the fx, fy, fz when a player aims on another player?
Reply
#7

Yes.
Reply
#8

pawn Код:
GetPlayerCameraFrontVector(playerid, &Float:x, &Float:y, &Float:z)
https://sampwiki.blast.hk/wiki/GetPlayerCameraFrontVector
Reply
#9

Here get's position i need fx,fy,fz like in OnPlayerWeaponShoot callback are..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)