onPlayerWeaponChange
Information
Cet évènement est appelé lorsqu'un joueur change d'arme.
RegisterNetEvent('onPlayerWeaponChange')
AddEventHandler('onPlayerWeaponChange', function(oldWeapon, currentWeapon)
-- ...
end)
Paramètre | Type | Description |
---|---|---|
oldWeapon | Hash | Le hash de la précédente arme |
currentWeapon | Hash | Le hash de l'arme équipée |