getJetpackWeaponEnabled | Multi Theft Auto: Wiki Skip to content

getJetpackWeaponEnabled

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function checks if a weapon is usable while on a Jetpack.

Syntax

getJetpackWeaponEnabled ( )

Code Examples

server
addCommandHandler("isJPEnabled",function(ped,_,wep)
if ped then
outputChatBox(tostring(getJetpackWeaponEnabled(wep)),ped)
end
end)

See Also

World Functions