Raised This Month: $ Target: $400
 0% 

Register Event only for certain plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 10-22-2015 , 04:01   Register Event only for certain plugin?
Reply With Quote #1

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

Last edited by Chihuahuax; 10-22-2015 at 04:03.
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-22-2015 , 05:29   Re: Register Event only for certain plugin?
Reply With Quote #2

Just use bool.
zmd94 is offline
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 10-22-2015 , 05:37   Re: Register Event only for certain plugin?
Reply With Quote #3

Quote:
Originally Posted by zmd94 View Post
Just use bool.
Thought on several ways using bool, and none would actually work

Need suggestion

Last edited by Chihuahuax; 10-22-2015 at 05:38.
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-22-2015 , 05:45   Re: Register Event only for certain plugin?
Reply With Quote #4

Just show how you do it.
zmd94 is offline
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 10-22-2015 , 12:20   Re: Register Event only for certain plugin?
Reply With Quote #5

nah its a fail idea i have to use ham_takedamage
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-22-2015 , 20:43   Re: Register Event only for certain plugin?
Reply With Quote #6

There is no event called "Death", it is called "DeathMsg". See here.
__________________
fysiks is offline
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 10-23-2015 , 02:07   Re: Register Event only for certain plugin?
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
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

Last edited by Chihuahuax; 10-23-2015 at 02:07.
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-23-2015 , 09:45   Re: Register Event only for certain plugin?
Reply With Quote #8

Quote:
Originally Posted by Chihuahuax View Post
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.
__________________
HamletEagle 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 12:27.


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