28/08/2022 18:19 
	
	
	
		boa tarde.. estou com esse erro estranho aqui
codigo:
	
	
	
	
codigo:
Código PHP:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
    if(PlayerInfo[playerid][preso] == true)return SetPlayerHealth(playerid,100);
    if(PlayerInfo[playerid][Presoestadual] == true)return SetPlayerHealth(playerid,100);
    if(!IsPlayerPaused(damagedid)) //verifica se o jogador que levou dano nao esta de esc
    {
        if(weaponid == 24 || weaponid == 34 || weaponid == 31 || weaponid == 30)
        {
            if(bodypart == 9)
            {
                if(hasHS[damagedid] == 0)
                {
                PlayerInfo[playerid][hs]=1;
                foreach(new fr : Player)
                if(PlayerInfo[fr][modo] == 2)
                {
                    new string[150];
                    format(string,sizeof(string),"~w~O(A)_Jogador(a)_~r~%s[%d]_~w~matou_o(a)_~y~%s[%d]_~w~com_um_~g~HS", Nome(playerid), Nome(damagedid), playerid);
                    TextDrawSetString(InfoDeath,string);
                    TextDrawShowForPlayer(fr,InfoDeath);
                    SetPlayerHealth(damagedid, 0.0);
                    SetPlayerArmour(damagedid, 0);
                    hasHS[damagedid] = true;
                    }
                }
            }
        }
    }
    if(IsPlayerPaused(damagedid)) return 0;
    return 1;
} 
Código PHP:
erro: error 017: undefined symbol "Nome"; did you mean "Mode"? 

	   
	
 k2bi#9906