SA-MP Forums Archive
Eliminated stuck on death - 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: Eliminated stuck on death (/showthread.php?tid=176945)



Eliminated stuck on death - Mr_Osborn - 15.09.2010

So I've got this "Eliminated" stuck on my screen when I get killed or type /kill, how can I fix it? If you need any code tell me.

Edit:

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  SendDeathMessage(killerid, playerid, reason);
  SetPlayerScore(killerid,(GetPlayerScore(killerid))+1);
  SetPlayerScore(playerid, -1);

  new string[50];
  format(string, sizeof(string), "~w~Eliminated");
  GameTextForPlayer(playerid, string, 3000, 2);
  return 1;
}



Re: Eliminated stuck on death - Mike_Peterson - 15.09.2010

(oftopic, for colors like white (~W~) do u need a string to do that? anyway
try setting it to 2000 ms
maybe the problem is that u respawn too fast.


Re: Eliminated stuck on death - Seven. - 15.09.2010

Experienced same problem. Couldn't find any solution =/. Try setting when spawning:
Код:
GameTextForPlayer(playerid," ", 100, 2);



Re: Eliminated stuck on death - Vince - 15.09.2010

Gametext text type 2 only dissapears on respawn.