forked from UNLOZE/sm-plugins
CallAdmin: ready to go
added feature where message to discord is blocked if active admins are in-game
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/** Include guard */
|
||||
#if defined _calladmin_stocks_included
|
||||
#endinput
|
||||
#endif
|
||||
#define _calladmin_stocks_included
|
||||
|
||||
|
||||
|
||||
|
||||
stock bool IsClientValid(int id)
|
||||
{
|
||||
if (id > 0 && id <= MaxClients && IsClientInGame(id))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user