OnVehicleDeath
#1

how can I do this:

when the job vehicle explodes / stay in water, the vehicle get destroyed and return a scm to the player who was working that he failed the job?
Reply
#2

Well, you can save the vehicle ID in a pvar or player enum, once a vehicle explodes, check if it is a job vehicle and then check if any player has that vehicle ID assigned to them by iterating through the values. If yes, send the message to that player.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)