Hi,
In CS 1.6 it was easy. There were such event to register in plugin init. But how to detect it in CSS?
I found one function but i'm not sure if it is okay.
http://docs.sourcemod.net/api/index....d=show&id=897&
Code:
public Action:GameLogHook("Game_Commencing");{
// some code on Game_Commencing event
}
Will it work?
#########
EDIT
#########
Ok, i found GetEventInt(event, "reason") == 16
so my problem is solved.
but how can i use GameLogHook, could somebody give me example?
Thanks
__________________