Raised This Month: $ Target: $400
 0% 

Csx forwards problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 08-05-2020 , 17:45   Csx forwards problem
Reply With Quote #1

Hello,
I have some problems with bomb_* forwards from csx module.
The problem is that it doesn't works properly, from debugging, it prints only 'false', right after the event is called ( tero win ).
Code:
Code:
#include <amxmodx> #include <csx> new bool:g_bBombExplode; public plugin_init() {     register_clcmd( "say /test", "clcmd_say_test" )     register_event("SendAudio", "ev_T_won", "a", "2&%!MRAD_terwin") } public bomb_explode(id) {     g_bBombExplode = true; } public ev_T_won() {     server_print("%s", g_bBombExplode == true ? "true" : "false"); } public clcmd_say_test(id) {     client_print(id, print_chat, "%s", g_bBombExplode == true ? "true" : "false") }
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
 


Thread Tools
Display Modes

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 13:44.


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