Raised This Month: $ Target: $400
 0% 

Removing an item?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XRaheemX
New Member
Join Date: Sep 2005
Location: Houston, TX
Old 11-01-2006 , 22:31   Removing an item?
Reply With Quote #1

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...
XRaheemX is offline
Send a message via AIM to XRaheemX Send a message via MSN to XRaheemX Send a message via Yahoo to XRaheemX
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 11-01-2006 , 23:15   Re: Removing an item?
Reply With Quote #2

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.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Nostrodamous
BANNED
Join Date: Oct 2006
Old 11-01-2006 , 23:28   Re: Removing an item?
Reply With Quote #3

or if you use fm_util you can strip only a selectd weapon from the user. (casue strip user weapons strips everything)
Nostrodamous is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-02-2006 , 00:04   Re: Removing an item?
Reply With Quote #4

Quote:
Originally Posted by Nostrodamous View Post
or if you use fm_util you can strip only a selectd weapon from the user. (casue strip user weapons strips everything)
This doesn't work for "items" such as longjump.

I wonder if you could modify it within private data.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Nostrodamous
BANNED
Join Date: Oct 2006
Old 11-02-2006 , 01:44   Re: Removing an item?
Reply With Quote #5

im sure using a set_pev maybee edict function you could . (thats what the ported fm_util is anyways)
Nostrodamous is offline
Old 11-02-2006, 02:47
VEN
This message has been deleted by VEN. Reason: ok... i will not
VEN
Veteran Member
Join Date: Jan 2005
Old 11-02-2006 , 03:01   Re: Removing an item?
Reply With Quote #6

I feel like all you don't know that longjump is stored in the player's PhysicsKeyValue :/
http://forums.alliedmods.net/showthr...6657#post56657
VEN is offline
Nostrodamous
BANNED
Join Date: Oct 2006
Old 11-02-2006 , 04:46   Re: Removing an item?
Reply With Quote #7

Quote:
Originally Posted by VEN View Post
I feel like all you don't know that longjump is stored in the player's PhysicsKeyValue :/
http://forums.alliedmods.net/showthr...6657#post56657
your absoluty right , i have no idea about long jump , but hte thread was named "removing items" which i do know a little about . but i have no idea about long jump, ive never used it .

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

Last edited by Nostrodamous; 11-02-2006 at 04:51.
Nostrodamous is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 11-02-2006 , 08:07   Re: Removing an item?
Reply With Quote #8

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.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-02-2006 , 17:00   Re: Removing an item?
Reply With Quote #9

Quote:
Originally Posted by VEN View Post
I feel like all you don't know that longjump is stored in the player's PhysicsKeyValue :/
http://forums.alliedmods.net/showthr...6657#post56657
I was never that much into HLDM.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 11-02-2006 , 17:09   Re: Removing an item?
Reply With Quote #10

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
If you don't know how to work the preprocesser, go read the basic tutorials.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Reply


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 04:49.


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