Dead But Undead
#1

Dead but undead, i die, wasted comes up on my screen... and stays there... and i can move freely, my health is 0, how can i fix this? only happens after slight script edit.
Reply
#2

public OnPlayerDeath(playerid, killerid, reason)
{
GameTextForPlayer(playerid, "~w~Wasted", 3000, 2);
return 1;
}
Reply
#3

does that happens every time u die or just when u use /kill ??

try that onplayerdeath :
Код:
new Float:pos[3]; GetPlayerPos(playerid,pos[0],pos[1],pos[2]);
SetPlayerPos(playerid,pos[0],pos[1],pos[2]+50);
________
Latina Webcams
Reply
#4

Known bug in SA-MP 0.3a.

See http://forum.sa-mp.com/index.php?topic=156275.0 and http://forum.sa-mp.com/index.php?topic=139887.msg915978#msg915978.
Reply
#5

It's quite major... surely we shouldnt be made to wait till 0.3b?
Reply
#6

When a player on my server dies they just die and respawn as normal
Reply
#7

cozax try my post , it may work , and btw my server is just like Hannes he respawns normal
________
Alaska medical marijuana
Reply
#8

Quote:
Originally Posted by XxCozzaxX
It's quite major... surely we shouldnt be made to wait till 0.3b?
http://forum.sa-mp.com/index.php?top...5732#msg935732 (from the first link I posted) lists two available fixes.
Reply
#9

you could also add
Код:
OnPlayerSpawn(playerid);
in the OnPlayerDeath(playerid)
Reply
#10

I dont know about you guys, but i only get this bug when theres alot going around the player before his death, like in one instance a explosion is spawned and the player is ejected from the car then put back in, he/she gets 0 health but doesn't actually die.

Something with sync probably, just try not to overload the server when the player is dying
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)