Thread: hasweapon()
View Single Post
  #1  
Old 03-17-2005, 04:45 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
hasweapon()

I'm just trying to make a warp ring. The weapon itself is fine, it's the place where you pick it up i'm having trouble with.

I'm trying to use hasweapon(Warp Ring) to decide whether to show or hide the pickup npc.

like this:

NPC Code:

//#CLIENTSIDE
if (playerenters && hasweapon(Warp Ring)) hide;
else show;



It works fine offline.. but as soon as i upload the level it wont work.

Do i need to do something else to get this to work properly?
Reply With Quote