29.07.2012, 12:33
pawn Код:
public OnPlayerDeath(killerid,playerid,reason)
{
if(Assault[playerid]==1)
{
if(IsPlayerConnected(killerid))
{
// this part responds
}
else
{
// also responds
}
}
if(HellJumper[playerid]==1)
{
if(IsPlayerConnected(killerid))
{
// responds too
}
else
{
// this one doesn't respond
}
}
return 1;
}