03.12.2012, 15:49
Guys,
Another problem. The crashdetect plugin is reading a Debug on OnPlayerDeath. I dont see whats wrong here. The onplayedeath callback consists the Register and a piece from the Spectate system.
Another problem. The crashdetect plugin is reading a Debug on OnPlayerDeath. I dont see whats wrong here. The onplayedeath callback consists the Register and a piece from the Spectate system.
pawn Код:
public OnPlayerDeath(playerid,killerid,reason)
{
PlayerInfo[killerid][pKills]++;
PlayerInfo[playerid][pDeaths]++;
if(IsBeingSpeced[playerid] == 1)//If the player being spectated, dies, then turn off the spec mode for the spectator.
{
foreach(Player,i)
{
if(spectatorid[i] == playerid)
{
TogglePlayerSpectating(i,false);// This justifies what's above, if it's not off then you'll be either spectating your connect screen, or somewhere in blueberry (I don't know why)
}
}
}
return 1;
}