RegConsoleCmd("sm_turnon", Cos); //<< This better for toggle ON/OFF.. i don't know what you are doing. RegConsoleCmd("sm_turnoff", Cos2); //<< This better for toggle ON/OFF.. i don't know what you are doing.
HookEvent("player_spawn", Spawn); //<< This for testing i assume?
for( int i = 1; i <= MaxClients; i++ ) { g_iCookieValue[i] = -1; if( IsClientInGame( i ) && AreClientCookiesCached( i )) { OnClientCookiesCached( i ); } } }
public Action command_undercover(int client, int args) {
if( AreClientCookiesCached( client ) && g_iCookieValue[client] != -1 ) { PrintToChat( client, "[Nicker]: I have no clue what this doing..!!" ); } else { PrintToChat( client, "[Nicker]: Whatever this doing, it failed.." ); } }