SetPlayerArmedWeapon

From SA-MP Wiki

Jump to: navigation, search

SetPlayerArmedWeapon


Warning: This function was added in SA-MP version 0.3. It is not available in previous versions.


Arm a player with a certain weapon that they have.


Parameters:
(playerid, weaponid)
playeridThe player to set the armed weapon.
weaponidThe weaponid.


This function does not return a specific value.


this function does not work if the player is inside a vehicle.

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools