TextDraw help!!! !!!
#1

I create a textdraw that show wantedlevel but after i die with wanted level,the textdraw wont clear.than i set other number it will stack together.
Reply
#2

Set the string of that textdraw in OnPlayerDeath.

pawn Код:
TextDrawSetString(text:textdrawid, string[]);
Reply
#3

Or TextDrawHideForPlayer put OnPlayerDeath
Reply
#4

pawn Код:
public OnPlayerDeath(playerid,killerid,reason)
{
TextDrawHideForPlayer//CODES//
return 1;
}
Reply
#5



After i death my wanted become 0 but still show the textdraw
how to fix it
Reply
#6

what exacly do you need ? the textdraw show after the Death or Textdraw Removing sfter death ?
Reply
#7

Use "TextDrawHideForPlayer" at OnPlayerDeath( as Toxik said ) or OnPlayerSpawn
Reply
#8

won't works every time i die it will stack the wanted level textdraw.
Reply
#9

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    TextDrawHideForPlayer(playerid, TextdrawID);
    return 1;
}
https://sampwiki.blast.hk/wiki/TextDrawHideForPlayer

This forum requires that you wait 120 seconds between posts. Please try again in 15 seconds.
Reply
#10

cant works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)