Raised This Month: $ Target: $400
 0% 

How can i make ordinary action on specific event?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
orglee
Member
Join Date: Dec 2005
Old 10-02-2006 , 12:32   How can i make ordinary action on specific event?
Reply With Quote #1

Hello.
How can i check events.
For example, when player dies or has been killed how can i check it and send some msg to the player? I also would like know the list of events. All of them.
Of course with descriptions. Can you tell me when can i find an how to use it.
Regards.
orglee is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 10-02-2006 , 14:44   Re: How can i make ordinary action on specific event?
Reply With Quote #2

No problem, you are welcome: http://forums.alliedmods.net/search.php
VEN is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 10-02-2006 , 14:48   Re: How can i make ordinary action on specific event?
Reply With Quote #3

check out http://wiki.amxmodx.org/index.php/Ha..._1_Game_Events list of all events and discriptions
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
orglee
Member
Join Date: Dec 2005
Old 10-02-2006 , 15:15   Re: How can i make ordinary action on specific event?
Reply With Quote #4

Hmm but i dont see there Events when someone has killed enemy or team8.
orglee is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 10-02-2006 , 15:46   Re: How can i make ordinary action on specific event?
Reply With Quote #5

You have to check their team with native functions, something like get_user_team, visit this link for more info: http://www.amxmodx.org/funcwiki.php
VEN is offline
orglee
Member
Join Date: Dec 2005
Old 10-02-2006 , 17:02   Re: How can i make ordinary action on specific event?
Reply With Quote #6

Quote:
Originally Posted by VEN View Post
You have to check their team with native functions, something like get_user_team, visit this link for more info: http://www.amxmodx.org/funcwiki.php
That isnt what i had in mind.
Lets try diffrent way.

For example when player dies, what event can inform me about it.

Events i need:

Player dies. (Why/How)
Player has beed killed. ( how/from witch weapon)
Bomb. Dropped/Pickedup/Defused/Exploded
Weapon (Bought/Picked up/Dropped)
Round end.
- Dmg given.
- Dmg taken.

In other words i want to know events whitch i can use to create statistic plugin.
orglee is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 10-02-2006 , 17:06   Re: How can i make ordinary action on specific event?
Reply With Quote #7

PHP Code:
    register_event("Damage""Event_Damage""be""2!0")
    
register_event("DeathMsg""Event_Death""a"
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
VEN
Veteran Member
Join Date: Jan 2005
Old 10-03-2006 , 00:24   Re: How can i make ordinary action on specific event?
Reply With Quote #8

For bomb and round end see the Code snippets/Tutorials section.
VEN 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 04:54.


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