முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

RemovePlayerWeapon

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Remove a specified weapon from a player.

NameDescription
playeridThe ID of the player whose weapon to remove.
WEAPON:weaponidThe ID of the weapon to remove.

Returns​

true - The function was executed successfully.

false - The function failed to execute. This means the player is not connected.

Examples​

RemovePlayerWeapon(playerid, WEAPON_DEAGLE); // Remove the Desert-Eagle from the player