SA-MP Forums Archive
HOW TO REMOVE A TEXTDRAW - 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)
+--- Thread: HOW TO REMOVE A TEXTDRAW (/showthread.php?tid=520739)



HOW TO REMOVE A TEXTDRAW - [Cali]ChrOnic_T - 20.06.2014

Deleted so nabs wont steal


Re: HOW TO REMOVE A TEXTDRAW - Laurey - 20.06.2014

Use the following variable,
pawn Код:
forward KillingSpree(playerid);
public KillingSpree(playerid)
{
  if(PlayerTotalKills[killerid]>1)
  {
       TextDrawHideForPlayer(killerid, killing);
       return 1;
   }
}
Define killing if its not defined.


Re: HOW TO REMOVE A TEXTDRAW - TheNeeraz - 20.06.2014

yes you should define killing it seems you have not defined it...


Re: HOW TO REMOVE A TEXTDRAW - [Cali]ChrOnic_T - 20.06.2014

Now i get
undefined symbol "killerid"


Re: HOW TO REMOVE A TEXTDRAW - Laurey - 20.06.2014

I told u to define it, do new killerid; at the top of your script.


Re: HOW TO REMOVE A TEXTDRAW - Vince - 20.06.2014

https://sampwiki.blast.hk/wiki/SetTimerEx

Quote:
Originally Posted by Laurey
Посмотреть сообщение
I told u to define it, do new killerid; at the top of your script.
Please do not reply is you have no idea what you're talking about. The OP's callback code was correct.