Quote:
Originally Posted by hornet
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