[Ajuda] Erro ao compilar
#3

Quote:
Originally Posted by Coreia
Посмотреть сообщение
Tб faltando a variavel "bodypart"
como vou adicionar isso no meu gamemode?
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
else if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9 && GetPlayerTeam(issuerid) != GetPlayerTeam(playerid))
    {
        SetPlayerHealth(playerid, 0.0);
        GameTextForPlayer(issuerid, "HEADSHOT", 3000, 1);
        format(sstring,sizeof sstring,"[Sniper Info]Headshot confirmed on: %s[%d]", PlayerName(playerid), playerid);
        SendClientMessage(issuerid, COLOR_GREEN, sstring);
    }
    return 1;
}
Reply


Messages In This Thread
Erro ao compilar - by Devasting - 10.04.2014, 21:00
Re: Erro ao compilar - by Coreia - 10.04.2014, 21:18
Re: Erro ao compilar - by Devasting - 10.04.2014, 21:38
Re: Erro ao compilar - by Coreia - 10.04.2014, 21:49
Re: Erro ao compilar - by Devasting - 10.04.2014, 22:53
Re: Erro ao compilar - by Coreia - 10.04.2014, 23:26

Forum Jump:


Users browsing this thread: 1 Guest(s)