Raised This Month: $ Target: $400
 0% 

Blocking spawned CSDM items


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-13-2007 , 23:29   Re: Blocking spawned CSDM items
Reply With Quote #1

No It can't work. Look at the source and you will understand. Anyway I've tested and with the Fm_Touch forward you can do nothing since the items are given immediately by csdm_give_item() native. Even if you put before csdm It will not prevent the csdm forward to run and giving the items.
__________________
Arkshine is offline
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 11-14-2007 , 05:00   Re: Blocking spawned CSDM items
Reply With Quote #2

Yeah... I was searching through item mode...

Well, thanks anyway!
__________________
It's a mystery.
Mini_Midget is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 11-14-2007 , 09:30   Re: Blocking spawned CSDM items
Reply With Quote #3

Couldn't you slightly hack CSDM-Equip to execute a forward when you touch an item?

Then you can return 0 or 1 to it to either give the item or block it.

Then you can check your pcvar in your plugin ( within the forward )
purple_pixie is offline
Reply



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 01:13.


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