mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 21:43:22 +00:00
L4D2Tools: Remove precache things
This commit is contained in:
parent
a1b1901a31
commit
a3a85ee5b5
2 changed files with 1 additions and 6 deletions
Binary file not shown.
|
@ -182,12 +182,7 @@ public Action Command_PlaySound(int client, int args) {
|
|||
target = target_list[i];
|
||||
StopSound(target, 0, lastSound[target]);
|
||||
}
|
||||
char precache[128];
|
||||
Format(precache, sizeof(precache), "sound/%s", arg2);
|
||||
bool result = PrecacheSound(arg2);
|
||||
if(!result) {
|
||||
ReplyToCommand(client, "Warn: Precache failed '%s'", precache);
|
||||
}
|
||||
PrecacheSound(arg2);
|
||||
for (int i = 0; i < target_count; i++) {
|
||||
target = target_list[i];
|
||||
if(IsClientConnected(target) && IsClientInGame(target)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue