Raised This Month: $ Target: $400
 0% 

rescued one hostage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 09-12-2005 , 21:17   big list
Reply With Quote #2

Here is the way I catch obj's:
Code:
register_logevent("Event_ObjPlayer", 3, "1=triggered"); register_logevent("Event_ObjTeam", 6, "2=triggered"); public Event_ObjPlayer() {     new arg1[32], arg2[64], name[32], id;     read_logargv(0, arg1, 31);     read_logargv(2, arg2, 63);     parse_loguser(arg1, name, 31, id);     id = get_user_index(name);     if(equal(arg2, "Rescued_A_Hostage"))     {         // ect     }     else if(equal(arg2, "Planted_The_Bomb"))     {         // ect     }     else if(equal(arg2, "Defused_The_Bomb"))     {         // ect     }     else if(equal(arg2, "Escaped_As_VIP"))     {         // ect     }     return PLUGIN_CONTINUE; } public Event_ObjTeam() {     new arg[64];     read_logargv(3, arg, 63);     if(equal(arg, "Target_Bombed"))     {         // ect.     }     else if(equal(arg, "Target_Saved"))     {         // ect.     }     else if(equal(arg, "VIP_Not_Escaped"))     {         // ect.     }     else if(equal(arg, "Hostages_Not_Rescued"))     {         // ect.     }     else if(equal(arg, "All_Hostages_Rescued"))     {         // ect.     }     return PLUGIN_CONTINUE; }
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
 



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 14:32.


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