mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 16:43:21 +00:00
Minor tweaks
This commit is contained in:
parent
6c81169afc
commit
b9e154e50b
7 changed files with 894 additions and 2 deletions
|
@ -119,7 +119,7 @@ public void OnPluginStart() {
|
|||
}
|
||||
|
||||
public void OnClientPutInServer(int client) {
|
||||
CreateTimer(20.0, Timer_ClearDoubleKitDetection, _, GetClientUserId(client));
|
||||
CreateTimer(20.0, Timer_ClearDoubleKitDetection, GetClientUserId(client));
|
||||
}
|
||||
|
||||
// Called on map changes too, we want this:
|
||||
|
@ -193,7 +193,7 @@ public void Event_HealSuccess(Event event, const char[] name, bool dontBroadcast
|
|||
int target = GetClientOfUserId(event.GetInt("subject"));
|
||||
int amount = event.GetInt("health_restored");
|
||||
int orgHealth = GetClientHealth(target) - amount;
|
||||
PrintToConsoleAll("[Debug] %N healed %N (+%d health, was %d)", client, target, amount, orgHealth);
|
||||
PrintToConsoleAll("[Debug] %N healed %N (+%d health, was perm. %d)", client, target, amount, orgHealth);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue