isplayerfacing pos ?
#1

Hey, i want to create a function or smth like this: IsPlayerFacingPos(playerid, x, y, z); but what do i need to include there, GetPlayerFacingAngle and than some maths, can someone work this out for me ?
Reply
#2

Look at GetXYInFrontOfPlayer and work backwards
Reply
#3

k but now, i need to see if someone is standing in front of him within 10 'coords' but should i do it like this? :

pawn Код:
GetPlayerPos(playerid, x, y, z);
for(new i;i <MAX_PLAYERS;i++) {
If(PlayerToPoint(10.0, i, x,y,z)) { print("fail"); } }
or how? X:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)