VehicleShot
#1

hey guys how can i do when a player is in "IsAFarmerCar" if i shot that vehicle that player who is in the car getting a message like "Name attacked your work vehicle, use /panel to report him"

some idea's ?
Reply
#2

Quote:
Originally Posted by StR_MaRy
Посмотреть сообщение
hey guys how can i do when a player is in "IsAFarmerCar" if i shot that vehicle that player who is in the car getting a message like "Name attacked your work vehicle, use /panel to report him"

some idea's ?
OnPlayerWeaponShot -> hitid = vehicle id

loop
get owner of vehicle
send message
Reply
#3

You could use the math plugin to get a vehicle's driver: https://sampforum.blast.hk/showthread.php?tid=270508
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)