reloadPedWeapon | Multi Theft Auto: Wiki Skip to content

reloadPedWeapon

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 makes a pedestrian reload their weapon.

Syntax

reloadPedWeapon ( )

Code Examples

server

This example adds a 'reloadgun' console command that lets players reload their weapon.

function reloadGun ( sourcePlayer, command )
reloadPedWeapon ( sourcePlayer )
end
addCommandHandler ( "reloadgun", reloadGun )

See Also