mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 10:23:21 +00:00
Minor changes / fixes
This commit is contained in:
parent
6b80a9ebc6
commit
162748a055
4 changed files with 460 additions and 5 deletions
|
@ -139,7 +139,7 @@ public Action Command_ResetUser(int client, int args) {
|
|||
}
|
||||
for (int i = 0; i < target_count; i++)
|
||||
{
|
||||
if(IsClientConnected(i) && IsClientInGame(i) && IsPlayerAlive(i) && GetClientTeam(i) == 2) {
|
||||
if(IsClientConnected(target_list[i]) && IsClientInGame(target_list[i]) && IsPlayerAlive(target_list[i]) && GetClientTeam(target_list[i]) == 2) {
|
||||
ResetClient(target_list[i], true);
|
||||
ShowActivity(client, "reset troll effects on \"%N\". ", target_list[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue