Quote:
Originally Posted by Max_Coldheart
Okay, just what the fuck?
On Topic:
Could you please show us your "OnPlayerUpdate"? Bug there could kill you, as its called almost 80 times in a second.
|
Under OnPlayerUpdate there is actually nothing just this:
pawn Code:
public OnPlayerUpdate(playerid)
{
Streamer_Update(playerid);
return 1;
}
Quote:
Originally Posted by Lorenc_
pawn Code:
public OnPlayerUpdate(playerid) { new Float:Health; GetPlayerHealth(playerid, Health); if(Health < 1) return SpawnPlayer(playerid); return 1; }
Try that
EDIT: I thought it was a death bug sorry!
|
This is just the same x), After i die i spawn ..
Quote:
Originally Posted by langricr
Try changing
Code:
SetPlayerHealth(playerid,99999);
to
Code:
SetPlayerHealth(playerid,64000);
Although I'm pretty sure its not the case, the integer you specify might be overflowing and changing into a negative number because its too high. However, since you claim its not any of the filterscripts and its the only part of the spawn code that changes the player's health, I suggest you try changing it.
Wiki: Integer Overflow
|
Ok going to try ..