vehicle freeze
#1

How can i create a script that freezes vehicle when you are in it when the vehicle health is 400 and sends message your engine just broke.and in one minute the car health regenerates? any help?
Reply
#2

create a timer that checks the health
n the toggleplayercontrollable if
GetVehicleHealth(vehicleid,Float:Health)
is under400
Reply
#3

if i put it under onplayerupdate it would lag the server?

and i think it would spam the chat.
or i could create a timer that checks if the message is sent and when i exit vehicle it kills the timer.

Reply
#4

Quote:
Originally Posted by revenngeR
if i put it under onplayerupdate it would lag the server?

and i think it would spam the chat.
or i could create a timer that checks if the message is sent and when i exit vehicle it kills the timer.

what do u mean?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)