[Ajuda] alguem mim ajuda
#1

C:\Users\kleiton\Downloads\FdN (3).pwn(6774) : error 025: function heading differs from prototype

public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) linha 6774 й essa
{
if(issuerid != INVALID_PLAYER_ID)
{
//SNIPER SNP2 ONE SHOT
if(SNP2[playerid] == true && Arena[playerid] == 1 && GetPlayerWeapon(issuerid) == 34) SetPlayerHealth(playerid,0.0);

//Evento Sem Danos
if(NoEvento[playerid] == 1)if(EventoAtivo == 1 && NoEvento[issuerid] == 1 && EventoSemDanos == true) SetPlayerHealth(issuerid,0.0);

//EventoOHK
if(NoEvento[playerid] == 1)if(EventoAtivo == 1 && NoEvento[issuerid] == 1 && EventoOHK == true && GetPlayerWeapon(issuerid) > 1) SetPlayerHealth(playerid,0.0);

DamageTick[playerid] = TickCounter;
}
if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9 && Arena[playerid] == 0 && NoEvento[playerid] == 0)
{
///by [SBN]DEAN[SPN]
new levou[48],deu[48],temporario[128];
GetPlayerName(issuerid, deu,sizeof(deu));
GetPlayerName(playerid, levou,sizeof(levou));
format(temporario,sizeof(temporario),"{FFFFFF}» |HEADSHOT| {FCDE00}%s {FC0000}tomou um Headshot de {FCDE00}%s {FC0000}(Sniper)",levou,deu);
SendMessageMesmoWorld(playerid, COLOUR_ERRO, temporario);
SetPlayerHealth(playerid, 0.0);
}
/////SNIPERRRRRRRRRRRRRRRRR
if(issuerid != INVALID_PLAYER_ID && weaponid == 24 && bodypart == 9 && Arena[playerid] == 0 && NoEvento[playerid] == 0)
{
///by [SBN]DEAN[SPN]
new levou[48],deu[48],temporario[128];
GetPlayerName(issuerid, deu,sizeof(deu));
GetPlayerName(playerid, levou,sizeof(levou));
format(temporario,sizeof(temporario),"{FFFFFF}» |HEADSHOT| {FCDE00}%s {FC0000}tomou um Headshot de {FCDE00}%s {FC0000}(Desert)",levou,deu);
SendMessageMesmoWorld(playerid, COLOUR_ERRO, temporario);
SetPlayerHealth(playerid, 0.0);
}
/////DESERTTTTTTTTTTTTTT
if(issuerid != INVALID_PLAYER_ID && weaponid == 35 && bodypart == 9 && Arena[playerid] == 0 && NoEvento[playerid] == 0)
{
///by [SBN]DEAN[SPN]
new levou[48],deu[48],temporario[128];
GetPlayerName(issuerid, deu,sizeof(deu));
GetPlayerName(playerid, levou,sizeof(levou));
format(temporario,sizeof(temporario),"{FFFFFF}» |HEADSHOT| {FCDE00}%s {FC0000}tomou um Headshot de {FCDE00}%s {FC0000}(Rifle)",levou,deu);
SendMessageMesmoWorld(playerid, COLOUR_ERRO, temporario);
SetPlayerHealth(playerid, 0.0);
}
/////RIFLEEEEEEEEEEEEEEEEEE


return 1;
}
Reply


Messages In This Thread
[Ajuda] alguem mim ajuda - by Mikael22 - 08.10.2017, 16:31
Re: [Ajuda] alguem mim ajuda - by Gguiz - 08.10.2017, 17:03
Re: [Ajuda] alguem mim ajuda - by DelK - 08.10.2017, 17:12
Re: [Ajuda] alguem mim ajuda - by Bruno13 - 08.10.2017, 19:03

Forum Jump:


Users browsing this thread: 1 Guest(s)