19.01.2013, 03:11
[B]Hello, Im using this code.
But its giving me these errors
I need this fixed please! I will +REP and if you want, send me a visitor message i can make you admin in my server. we have 20-35 players daily.
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
if(gTeam[killerid] == gTeam[playerid])
{
new Float:h;
GetPlayerHealth(damagedid,h);
SetPlayerHealth(damagedid,h+amount);
}
return 1;
}
pawn Код:
C:\Documents and Settings\Tyrese\My Documents\OFFICIAL SERVER\LSGM2.pwn(5967) : error 017: undefined symbol "killerid"
I need this fixed please! I will +REP and if you want, send me a visitor message i can make you admin in my server. we have 20-35 players daily.