Raised This Month: $ Target: $400
 0% 

Block Weapon Pickup


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 06-07-2013 , 08:59   Block Weapon Pickup
Reply With Quote #1

Im trying to block weapon pickup. But they can pickup weapons
What am i doing wrong?

Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <engine>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "SnusMumrikeN (ironskillz1)"

public plugin_init() {
 register_plugin(PLUGIN, VERSION, AUTHOR)
 
 //Block weapon pickup
 register_touch("weaponbox", "player", "BlockPickup");
 register_touch("armoury_entity", "player", "BlockPickup");
 register_touch("weapon_shield", "player", "BlockPickup");
}
public BlockPickup(Entity)
        return PLUGIN_HANDLED
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-07-2013 , 09:05   Re: Block Weapon Pickup
Reply With Quote #2

register it with ham touch and return SUPERCEDE
TheDS1337 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 16:28.


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