Raised This Month: $ Target: $400
 0% 

Register touch and pick up?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Davidos
Senior Member
Join Date: Feb 2005
Old 02-19-2007 , 12:02   Register touch and pick up?
Reply With Quote #1

Is it possible to register a dropped entity <medkit for this example> and adding it to an inventory section <amx menu> ?

More importantly, how?

Oh and, how do you make it so it gets picked up even though the player has less than 100 hp <medkit> unless the user has activated it <give item_medkit> from menu?

public pfn_touch(ent,id)


K i get that part...

classname item_medkit. Then my brain shuts down -_-

Last edited by Davidos; 02-19-2007 at 18:34.
Davidos is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode