08.12.2011, 06:02
pawn Код:
new Ministry[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
if(Ministry[killerid] != 1)
{
do your shit here to check like getscore n shit
}
}
public OnPlayerConnect(playerid)
{
if(GetPlayerScore(playerid) >= 500)
{
Ministry[playerid] = 1;
}
if(GetPlayerScore(playerid) < 500) Ministry[playerid] = 0;
}