TextLabel wont delete
#4

You don't use SetTimer like this and this is not how you pass variables through timers. You should of used SetTimerEx

pawn Код:
SetTimerEx("DeleteIt", 5000, false, "i", chatlabel); // Calls "DeleteIt" after 5 seconds and passes 'chatlabel' to the function


forward DeleteIt(id); // just forwarding
public DeleteIt(id) // here id is the text label id which you passed before
{
    Delete3DTextLabel(id); // deletes it
    return 1;
}
Reply


Messages In This Thread
TextLabel wont delete - by jackx3rx - 26.07.2014, 15:52
Re: TextLabel wont delete - by Konstantinos - 26.07.2014, 15:54
Re: TextLabel wont delete - by jackx3rx - 26.07.2014, 15:56
Re: TextLabel wont delete - by [KHK]Khalid - 26.07.2014, 15:59
Re: TextLabel wont delete - by Konstantinos - 26.07.2014, 16:00
Re: TextLabel wont delete - by [KHK]Khalid - 26.07.2014, 16:02
AW: Re: TextLabel wont delete - by jackx3rx - 26.07.2014, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)