After 2 weeks, server back online, when i spawn i die !
#13

Quote:
Originally Posted by Max_Coldheart
View Post
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_
View Post
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
View Post
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 ..
Reply


Messages In This Thread
After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 24.06.2011, 10:46
Re: After 2 weeks, server back online, when i spawn i die ! - by MAVERICKS - 24.06.2011, 12:20
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 24.06.2011, 14:59
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 24.06.2011, 18:39
Re: After 2 weeks, server back online, when i spawn i die ! - by [BP]Tony - 24.06.2011, 21:55
Re: After 2 weeks, server back online, when i spawn i die ! - by leingod - 24.06.2011, 21:57
Re: After 2 weeks, server back online, when i spawn i die ! - by [BP]Tony - 24.06.2011, 21:59
Re: After 2 weeks, server back online, when i spawn i die ! - by leingod - 24.06.2011, 22:05
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 25.06.2011, 09:37
Re: After 2 weeks, server back online, when i spawn i die ! - by Max_Coldheart - 25.06.2011, 09:39
Re: After 2 weeks, server back online, when i spawn i die ! - by Lorenc_ - 25.06.2011, 09:45
Re: After 2 weeks, server back online, when i spawn i die ! - by langricr - 25.06.2011, 09:49
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 25.06.2011, 09:51
Re: After 2 weeks, server back online, when i spawn i die ! - by langricr - 25.06.2011, 09:54
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 25.06.2011, 10:06
Re: After 2 weeks, server back online, when i spawn i die ! - by langricr - 25.06.2011, 10:09
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 25.06.2011, 10:14
Re: After 2 weeks, server back online, when i spawn i die ! - by Max_Coldheart - 25.06.2011, 10:17
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 25.06.2011, 10:26
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 25.06.2011, 14:54
Re: After 2 weeks, server back online, when i spawn i die ! - by Sil3nc3 - 25.06.2011, 14:59
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 25.06.2011, 15:06
Re: After 2 weeks, server back online, when i spawn i die ! - by Sil3nc3 - 26.06.2011, 01:04
Re: After 2 weeks, server back online, when i spawn i die ! - by CosmicHosting - 26.06.2011, 05:48
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 26.06.2011, 09:48
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 26.06.2011, 15:43
Re: After 2 weeks, server back online, when i spawn i die ! - by iPLEOMAX - 26.06.2011, 15:59
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 26.06.2011, 17:37
Re: After 2 weeks, server back online, when i spawn i die ! - by alpha500delta - 26.06.2011, 17:53
Re: After 2 weeks, server back online, when i spawn i die ! - by Michael@Belgium - 26.06.2011, 18:08

Forum Jump:


Users browsing this thread: 7 Guest(s)