Thread: findweaponnpc()
View Single Post
  #3  
Old 04-24-2006, 02:47 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
findWeapon() returns a weapon object only if you have the weapon in your inventory, and NULL if not.

findWeaponNPC() returns a weapon object regardless if you have it or not. Usefull for calling serverside public functions and whatnot.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote