AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Register Event only for certain plugin? (https://forums.alliedmods.net/showthread.php?t=273579)

Chihuahuax 10-22-2015 04:01

Register Event only for certain plugin?
 
Is it possible to use
PHP Code:

register_event("Damage""on_damage""b""2!0""3=0""4!0"

only on certain weapon like bazooka? Im using this event for damage displaying

zmd94 10-22-2015 05:29

Re: Register Event only for certain plugin?
 
Just use bool.

Chihuahuax 10-22-2015 05:37

Re: Register Event only for certain plugin?
 
Quote:

Originally Posted by zmd94 (Post 2355551)
Just use bool.

Thought on several ways using bool, and none would actually work

Need suggestion

zmd94 10-22-2015 05:45

Re: Register Event only for certain plugin?
 
Just show how you do it.

Chihuahuax 10-22-2015 12:20

Re: Register Event only for certain plugin?
 
nah its a fail idea i have to use ham_takedamage

fysiks 10-22-2015 20:43

Re: Register Event only for certain plugin?
 
There is no event called "Death", it is called "DeathMsg". See here.

Chihuahuax 10-23-2015 02:07

Re: Register Event only for certain plugin?
 
Quote:

Originally Posted by fysiks (Post 2355756)
There is no event called "Death", it is called "DeathMsg". See here.

What?

Btw I am no longer reading on this thread as it is not possible to be done

HamletEagle 10-23-2015 09:45

Re: Register Event only for certain plugin?
 
Quote:

Originally Posted by Chihuahuax (Post 2355810)
What?

Btw I am no longer reading on this thread as it is not possible to be done

Yeah sure, if you don't give us a clear context and explain what you really want to do then we can't help you.


All times are GMT -4. The time now is 22:17.

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