okay, i got it to work but when i get in the rhino it blows up but then it goes back to the place i made it on full health
function onEnter (vehicle, seat, jacker)
if ( getElementModel(vehicle) == 432 ) then
if ( hasObjectPermissionTo(source, "function.kickPlayer")) then
else
killPed(source)
outputChatBox("You are a cheater", source, 255, 0, 0 )
blowVehicle(vehicle)
end
end
end
addEventHandler("onPlayerVehicleEnter", getRootElement(), onEnter )
function onSwitchToMinigun (previous, current)
if ( current == 38 ) then
if ( hasObjectPermissionTo(source, "function.kickPlayer")) then
else
killPed(source)
outputChatBox("You are a cheater", source, 255, 0, 0 )
end
end
end
addEventHandler("onPlayerWeaponSwitch", getRootElement(), onSwitchToMinigun )