Whit3 Posted August 25, 2014 Posted August 25, 2014 (edited) What's Wrong? Error : GetElementModel got boolean Server Side local activated = 0 function disableFireForH( theVehicle, seat ) local id = getElementModel ( theVehicle ) if activated == 0 then if id == 425 then toggleControl (id, "vehicle_fire", true) end end end setTimer(disableFireForH , 100,0) function disablefire() activated = 1 outputChatBox("Hunter Fire Disabled") end addCommandHandler("df",disablefire) function activatefire() activated = 0 outputChatBox("Hunter Fire Activated") end addCommandHandler("af",activatefire) Edited August 25, 2014 by Guest
Et-win Posted August 25, 2014 Posted August 25, 2014 function disableFireForH( theVehicle, seat ) setTimer(disableFireForH , 100,0) You are totally not giving anything up with the timer, so you can't even get 'theVehicle' and 'seat'. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
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