A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/living/query_weapon
Name: query_weapon - return the weapon of a living
Syntax:
object query_weapon()
Description:
The query_weapon call returns the weapon a living is wielding.
Return value:
The object pointer to the weapon a living is wielding. If the living
wields no weapon, 0 is returned.
Examples:
object weapon;
weapon=this_player()->query_weapon();
See also:
This page was generated in LPC
Imprint / Impressum