2 questions for public and stock
#5

Quote:
Originally Posted by DusanInfinity
Посмотреть сообщение
1. Why simply that? That will be faster
2. Like you see, i dont write return in that public and i dont get a message after compiling... I add return 1; now, and i dont get any message...
Read point 2 again and run (make it work):
pawn Код:
return Function();

Function()
{
    new value;
    value = 5;
}
Public functions use more memory and should only be used in special cases, stock functions are ignored if a function is not used anywhere in your script. Nonetheless, neither is faster; use naked functions.
Reply


Messages In This Thread
2 questions for public and stock - by DusanInfinity - 08.12.2015, 20:57
Re: 2 questions for public and stock - by Kevln - 08.12.2015, 21:31
Re: 2 questions for public and stock - by DusanInfinity - 08.12.2015, 21:39
Re: 2 questions for public and stock - by Vince - 08.12.2015, 21:43
Re: 2 questions for public and stock - by Kevln - 08.12.2015, 22:20
Re: 2 questions for public and stock - by AmigaBlizzard - 09.12.2015, 20:50
Re: 2 questions for public and stock - by DusanInfinity - 18.12.2015, 18:26

Forum Jump:


Users browsing this thread: 2 Guest(s)