multiple syntax updates to adjust for 1.11.0.6946 SM build

This commit is contained in:
jenz
2023-08-29 18:11:52 +02:00
parent 69f859f2ea
commit c00a625910
6 changed files with 195 additions and 15 deletions
+5 -3
View File
@@ -55,7 +55,8 @@ public void OnPluginEnd()
public Action OnRoundEnd(Handle event, const char[] name, bool dontBroadcast)
{
perform_resets();
perform_resets();
return Plugin_Handled;
}
public void Event_RoundStart(Handle event, const char[] name, bool dontBroadcast)
@@ -77,7 +78,8 @@ public void perform_resets()
public Action reset_round_switch(Handle timer, any data)
{
round_switch = false;
round_switch = false;
return Plugin_Handled;
}
stock bool IsValidClient(int client)
@@ -212,7 +214,7 @@ public Action update_mimic_coords(Handle timer, any data)
return Plugin_Continue;
}
public float get_power_distance(int target_player, float [3]pos)
public float get_power_distance(int target_player, float pos[3])
{
float vec[3];
GetClientAbsOrigin(target_player, vec);