Raised This Month: $ Target: $400
 0% 

What are the "register_logevent" events?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MihaiGamerXD
Member
Join Date: Aug 2018
Old 08-08-2018 , 16:10   Re: What are the "register_logevent" events?
Reply With Quote #1

Quote:
Originally Posted by mug1wara View Post
Not worked with these events!

I tried this code:

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <hamsandwich>
#include <cstrike>

new bird_win[] = "redswar/voices/bird_win1.wav"
new bomb_defuse[] = "redswar/voices/bird_win2.wav"
new hostage_rescue[] = "redswar/voices/bird_win3.wav"
new vip_escape[] = "redswar/voices/bird_win4.wav"
new pig_win[] = "redswar/voices/pig_win1.wav"
new bomb_explode[] = "redswar/voices/pig_win2.wav"
new vip_dead[] = "redswar/voices/pig_win3.wav"
new bomb_planted[] = "redswar/voices/pig_plantedthebomb.wav"

public plugin_init() {
    
register_plugin("Red's War Voices""1.0""MihaiGamerXD")
    
    
register_logevent ("Vip_Escaped"3"3=vip_escaped")
}

public 
Vip_Escaped() {
    
client_cmd(0,"stopsound")
    
client_cmd(0,"spk %s",vip_escape)

MihaiGamerXD 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:40.


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