View Single Post
  #20  
Old 01-26-2008, 07:40 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
The only way to do that would be to have some script that would either read the "weapons/" folder (not recommended) or to read the "weapons" variable (serverside) which is a list of all weapons on the NPC Server.

Do the latter using a loop or so like someone previously suggested. Not a very good use of your NPC Server's CPU though.

And no, there is no event for when a new WNPC is added to the NPC Server (other then locally with-in that script, but that doesn't help you).
__________________
Do it with a DON!
Reply With Quote