Jump to content

help wanted


Apo

Recommended Posts

Posted

hi guys please help me for script if plear jaked vehicle

set caommand for player call 911 and set wanted targetplayer

call 911 ony for 60 secound can use else player no can not call 911

Posted

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.

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...