Raised This Month: $ Target: $400
 0% 

Weapon Pickup Event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FuckFace32
Junior Member
Join Date: Jul 2014
Location: Romania
Old 07-27-2014 , 14:01   Re: Weapon Pickup Event
Reply With Quote #1

Quote:
Originally Posted by hornet View Post
Let's start with you telling what you actually want to do.
Well, I want to give the terrorist some kind of godmode when he's doing a free round. He can't be killed UNTIL he picks up a weapon. The only problem I've got is detecting the weapon pickup.

This is what I've got:

Code:
#include <amxmodx>

public plugin_init() 
{
	register_plugin( "Testing stuff" , "1.0" , "FuckFace" )

	register_event( "WeapPickup", "OnWeaponPickedUp", "be" )
}

public OnWeaponPickedUp( id )
{
	new WeaponID = read_data( 1 )
	
	server_print( "WeaponID: %i", WeaponID )
}
I think I can continue. Please T/C

Last edited by FuckFace32; 07-27-2014 at 14:04.
FuckFace32 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 13:17.


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