Getting the position where weapon is shooting
#1

Hello,

is there any way to get teh postion where weapon is shooting at? And to check if the player is behind a wall or he is shooting at it?
Reply
#2

pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
To get player's position
Reply
#3

I din't ask for that.
Reply
#4

This ?

https://sampwiki.blast.hk/wiki/GetPlayerCameraFrontVector
Reply
#5

Yes, I am using that but how I can check if the weapon is shoting at a wall?
I am making something like this
[ame]http://www.youtube.com/watch?v=fhyRHSzA8m8[/ame]
Reply
#6

Check this https://sampforum.blast.hk/showthread.php?tid=256063, it may help.
Reply
#7

Quote:
Originally Posted by MicroD
Посмотреть сообщение
Thank you thats help full!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)