ERRROR
#1

Please I am compile pwn gamemode Infection and this error

ERROR : infection.pwn(216) : error 025: function heading differs from prototype


Quote:

public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart) // 216 line
{
if(GetPlayerTeam(playerid) == TEAM_INFECTED){SetPlayerTeam(damagedid,TEAM_INFECT ED),SpawnPlayer(damagedid),SendClientMessage(playe rid,COLOR_RED,#Infected. Spread the infection to the living.),infected[playerid] = true;}
if(damagedid == TEAM_INFECTED) return SendClientMessage(playerid,COLOR_GREY,"You've tried infecting an infected person. Didnt work.");
return 1;
}

Reply


Messages In This Thread
ERRROR - by itachi - 19.03.2015, 09:31
AW: ERRROR - by Kaliber - 19.03.2015, 09:34
Re: ERRROR - by CalvinC - 19.03.2015, 09:39

Forum Jump:


Users browsing this thread: 1 Guest(s)