Jump to content

help wanted


Apo

Recommended Posts

When vehicle is jacked he has 1 minute to call 911, else he cannot.

  
911a = "" 
  
function vehicleExitJack ( thePlayer, seat, jacked ) 
if jacked then 
911a[thePlayer] = true 
setTimer ( kill911, 60000, 1, thePlayer ) 
end 
end 
  
function kill911 (player) 
911a[player] = false 
end 
  
addEventHandler ( "onVehicleExit", getRootElement(), vehicleExitJack ) 

Then use

if 911a[player] == true then 

for the 911 command.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...