20.09.2015, 10:55
are you sure the problem here?
when you remove it server not crasheing?
PHP код:
forward SpectateOff(playerid);
public SpectateOff(playerid)
{
print("SpectateOff");
TogglePlayerSpectating(playerid, 0);
Player[playerid][SpectateID] = -1;
SendClientMessage(playerid, COLOR_WHITE, "You stopped spectating.");
return 1;
}