A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/player/query_data
Name: query_data - get stored data from a player
Syntax:
mixed query_data()
Description:
The query_data function returns data once stored in the player with
store_data in. Note that only the same file that stored the data can
query it.
Return value:
The data stored in the player for that object if there are any,
else 0.
Examples:
mixed data;
data = this_player()->query_data();
if (data != "club member") return write("You're not a member.\n");
See also:
This page was generated in LPC
Imprint / Impressum