Is this possible to detect it?
#1

Can we detect if a player throwing water from a fire truck? if yes how to get X Y Z position where player throwing the water
Reply
#2

You can detect if the player is pressing KEY_FIRE while in vehicle model 407 or 544.

I'm not sure about the second part.
Reply
#3

For the second part, just check a player angle (Where is he looking at)
Reply
#4

code please?
Reply
#5

We're here to give ideas not the ready-made code, you gotta put some effort yourself.
Reply
#6

Quote:
Originally Posted by iLearner
Посмотреть сообщение
We're here to give ideas not the ready-made code, you gotta put some effort yourself.
I just asked for examples I mean how to do it
Reply
#7

Yes, this is possible.

For an example, you can look here: https://sampforum.blast.hk/showthread.php?tid=226953
Reply
#8

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Yes, this is possible.

For an example, you can look here: https://sampforum.blast.hk/showthread.php?tid=226953
Thanks, it might works for me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)