Dead But Undead - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dead But Undead (
/showthread.php?tid=132485)
Dead But Undead -
cozza123456 - 07.03.2010
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.
Re: Dead But Undead -
bajskorv123 - 07.03.2010
public OnPlayerDeath(playerid, killerid, reason)
{
GameTextForPlayer(playerid,
"~w~Wasted",
3000,
2);
return 1;
}
Re: Dead But Undead -
aircombat - 07.03.2010
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
Re: Dead But Undead -
ev0lution - 07.03.2010
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.
Re: Dead But Undead -
cozza123456 - 07.03.2010
It's quite major... surely we shouldnt be made to wait till 0.3b?
Re: Dead But Undead -
bajskorv123 - 07.03.2010
When a player on my server dies they just die and respawn as normal
Re: Dead But Undead -
aircombat - 07.03.2010
cozax try my post , it may work , and btw my server is just like Hannes he respawns normal
________
Alaska medical marijuana
Re: Dead But Undead -
ev0lution - 08.03.2010
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.
Re: Dead But Undead -
cessil - 08.03.2010
you could also add
Код:
OnPlayerSpawn(playerid);
in the OnPlayerDeath(playerid)
Re: Dead But Undead -
iLinx - 08.03.2010
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