Textdraws & public
#1

First question:
Is that making a recursion?
Код:
in the top of script:
new mytimer;

In command like /sethelp or something....
mytimer = SetTimer("Timer", 5000, false);

forward Timer();
public Timer()
{
codes bla bla bla....
KillTimer(mytimer); // there is here a recursion?
return 1;
}
Second question:

I saw this in a server and i tried to copy to my server :P:
How do i they made it so clear?






That's mine, ignore the blue color:
Reply
#2

Recursion is when a function calls itself. Although the message (after compiling) can be popped up when the bytes exceed the value of stack/heap size.
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Recursion is when a function calls itself. Although the message (after compiling) can be popped up when the bytes exceed the value of stack/heap size.
So you mean:
Код:
public Timer()
{
Timer();
 bla bla
return 1;
}
And what about the textdraw? can you help me with that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)