Apo Posted May 9, 2016 Share Posted May 9, 2016 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 Link to comment
Dimos7 Posted May 9, 2016 Share Posted May 9, 2016 Can explane it better english please not understand what you want Link to comment
Captain Cody Posted May 9, 2016 Share Posted May 9, 2016 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now