View Single Post
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