Removing an item?
I'm having a problem that I can't find anything about on here. I have used "give_item" to give the "Longjump" item to a player. I want to be able to "take" the item away from the in the middle of the round without them having to die first. Is this possible? I can't find anything on removing items...
|
Re: Removing an item?
Store what weapons they have then strip all weapons and give all weapons back other than the longjump 'weapon'.
Note: This may not be the best way to do it..In fact, I am sure it isn't. |
Re: Removing an item?
or if you use fm_util you can strip only a selectd weapon from the user. (casue strip user weapons strips everything):up:
|
Re: Removing an item?
Quote:
I wonder if you could modify it within private data. |
Re: Removing an item?
im sure using a set_pev maybee edict function you could . (thats what the ported fm_util is anyways)
|
Re: Removing an item?
I feel like all you don't know that longjump is stored in the player's PhysicsKeyValue :/
http://forums.alliedmods.net/showthr...6657#post56657 |
Re: Removing an item?
Quote:
OFF SUBJECT : are there any tutorials or info on making include files liek your fm_util pack ? they look very confusing , i understand stock , but the #end if and stuff like that looks confusing :| |
Re: Removing an item?
Nostro..
If you admit that you know nothing about removing items, you will be most likely confusing people when posting in this thread.. Although, I did do the same myself. |
Re: Removing an item?
Quote:
|
Re: Removing an item?
Quote:
|
| All times are GMT -4. The time now is 04:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.