How to make a new global event on a player? Just like "client_connect","client_putinserver","client _command","client_infochanged "......
I would like to detect the player how to produce a global event in a.amxx, post-test automatically trigger other plug-ins function works, using native is a very complicated thing, so I want to trigger a global event like this:
In a.sma
PHP Code:
Public XXX(id)
{
......
if (...)
{
//How to produce a global event: client_loadfromsql(id)
}
}
In b.sma Or c.sma Or d.sma..........
PHP Code:
Public client_loadfromsql(id)
{
//Do my code......
}
Please help me! Thanks!