Jump to content

Car God Mode?


bluski

Recommended Posts

@every one, feel free to use this simple code, if wanted @.@

function vehicleGodMod(player) 
    if not (hasObjectPermissionTo(player,"general.adminpanel",false)) then 
    outputChatBox("You dont have permission for this command!",player,255) return end 
    if (isVehicleDamageProof(getPedOccupiedVehicle(player))) then 
    setVehicleDamageProof(getPedOccupiedVehicle(player),false) 
    outputChatBox("Vehicle god mode disabled",player,255) 
else 
    setVehicleDamageProof(getPedOccupiedVehicle(player),true) 
    outputChatBox("Vehicle god mode enabled",player,0,255) 
    end 
end 
addCommandHandler("vgod",vehicleGodMod) 
addCommandHandler("vehiclegod",vehicleGodMod) 

Edited by Guest
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...