mirror of
https://codeberg.org/spire/nochat.git
synced 2026-06-03 17:24:08 +02:00
handle non-user chat
This commit is contained in:
parent
9b92af732a
commit
be97a5f7f7
1 changed files with 4 additions and 1 deletions
|
|
@ -25,6 +25,9 @@ public OnPluginStart() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Action:Command_SayChat(client, args) {
|
public Action:Command_SayChat(client, args) {
|
||||||
|
if (client == 0) {
|
||||||
|
return Plugin_Continue;
|
||||||
|
}
|
||||||
new String:steam_id[32];
|
new String:steam_id[32];
|
||||||
GetClientAuthId(client, AuthId_SteamID64, steam_id, sizeof(steam_id));
|
GetClientAuthId(client, AuthId_SteamID64, steam_id, sizeof(steam_id));
|
||||||
|
|
||||||
|
|
@ -46,4 +49,4 @@ public void LoadBlockList(const char[] value) {
|
||||||
loadedBlockList[x][0] = EOS;
|
loadedBlockList[x][0] = EOS;
|
||||||
}
|
}
|
||||||
ExplodeString(value, ",", loadedBlockList, sizeof(loadedBlockList), sizeof(loadedBlockList[]), false);
|
ExplodeString(value, ",", loadedBlockList, sizeof(loadedBlockList), sizeof(loadedBlockList[]), false);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue