Sprawdziłbyś mi, czy to tak powinno być?
public OnClientPostAdminCheck(client)
{
new AdminId:id = GetUserAdmin(client);
if (id != INVALID_ADMIN_ID)
{
new String:name[32];
new Int:time;
GetClientName(client, name, 32);
PrintToChatAll("Admin \x04%s \x01connected!", name );
EmitSoundToAll(g_soundName);
GetTime(time);
LogAction(client, time, "\"%L\" byl \"%L\" ", client, time );
}
return true;
}
public OnClientDisconnect(client)
{
new AdminId:id = GetUserAdmin(client);
if (id != INVALID_ADMIN_ID)
{
new String:name[32];
new Int:time;
GetClientName(client, name, 32);
GetTime(time);
LogAction(client, time, "\"%L\" byl \"%L\" ", client, time );
}
return true;
}


Dodatki SourceMod




Moja zawartość
Mężczyzna