05.06.2015, 08:19
Hey,
Title says everything. Basically this callback is not getting called, I don't know what's the problem
I don't get anything printed.
P.S. I have sob installed, maybe it's the problem?
Title says everything. Basically this callback is not getting called, I don't know what's the problem
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
printf("%d just died",playerid);
mire[playerid] = true;
if(killerid != INVALID_PLAYER_ID)
{
givePlayerXp(killerid,randomEx(50,100));
pInfo[killerid][karma]+=10;
Achievement(killerid,piktadarys);
}
if(reason == WEAPON_DROWN) Achievement(playerid,nuskesti);
HideTools(playerid);
return 1;
}
P.S. I have sob installed, maybe it's the problem?

