06.02.2014, 08:41
I have a problem wanted, when you kill a civilian i do not give the wanted, unless you kill a hitman. How can I fix?
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerWantedLevel(killerid,random(5)); //Replace 'random(5)' with the level you want to give the player
}
//under onplayerdeath
if(gTeam[playerid] == TEAM_CIVILIAN)
{
SetPlayerWantedLevel(killerid, LEVEL);
}
C:\Documents and Settings\Madalin\Desktop\serversamp\gamemodes\Godfather.pwn(7299) : error 017: undefined symbol "TEAM_CIVILIAN"
C:\Documents and Settings\Madalin\Desktop\serversamp\gamemodes\Godfather.pwn(7301) : error 017: undefined symbol "LEVEL"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.