drive by Killerid detection
#1

hi,

how can i detect drive byers?
If i drive by as a driver and other vehicles explode due to my shots it will bring an invalid killerid (killed by explosion).
How can i avoid that and do it like i detect the drive byer?
I tried with the Callback OnPlayerWeaponShot but this callback does not work if the driver byer is the driver.


Please help.
Reply
#2

:P
check this out
https://sampforum.blast.hk/showthread.php?tid=497553
Reply
#3

thx but i dont think this will help me much.

This callback doesnt support vehicles.
If 2 players sit in vehicles and theyre drive bying each other no player is hurt or takes damage.
thats my problem.
And its nonsense to check in the callback on player death if a players stage is passenger as when a player dies his state is gonna be wasted and not passenger anymore even if he is still sitting in a vehicle dead.

Any other ideas?


thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)