This function was added in SA-MP 0.3a and will not work in earlier versions!
Sets which weapon (that a player already has) the player is holding.
|playerid||The ID of the player to arm with a weapon.|
|weaponid||The ID of the weapon that the player should be armed with.|
1: The function was executed successfully. Success is returned even when the function fails to execute (the player doesn't have the weapon specified, or it is an invalid weapon).
0: The function failed to execute. The player is not connected.
This function arms a player with a weapon they already have; it does not give them a new weapon. See GivePlayerWeapon.