- Documentation
- Server functions
- takeAllWeapons
Function
takeAllWeapons
Takes every weapon from a ped.
Syntax
bool takeAllWeapons(ped ped)Arguments
pedped- A player or ped.
Returns
true on success.
Example
addEventHandler("onPlayerWasted", root, function()
takeAllWeapons(source)
end)