Hi, (i'm french) (exuse me for my bad english) (I hope that I have the right to modify the plugin)
PHP Code:
I want to make a respawn if (HaleHealthMax/2) = HaleHealth
PHP Code:
496 : if (HaleHealthMax/2) = HaleHealth
497: {
498: Timer_RespawnRedTeam
..... }
.....
public Action:Timer_RespawnRedTeam(Handle:timer)
{
for(new client = 1; client <= MaxClients; client++)
{
if(IsClientConnected(client) && IsClientInGame(client) && !IsPlayerAlive(client))
if(GetClientTeam(client) == RESPAWN_TEAM)
{
TF2_RespawnPlayer(client);
}
}
}
Ty for attention and have a nice day
Error : Invalid fonction or declaration (496)