Default Function Variable?
#5

Quote:
Originally Posted by ♣ Joker ♠
Quote:
Originally Posted by Deji
Ah, ok. What's the difference between public and regular functions, anyway?
easy explanation, public is public and every script can use these functions, everything else is only useable for the script, for a better explanation => pawn-lang.pdf/page 83/public
Hmmm i wouldnt say that. If i remember correctly, public makes a function and/or a variable visable to the sa-mp server itself, and also compiles a different way, (by name instead of address) hence why functions used by timers have to be public / same for callremotefunction.


erm back on topic, just change the public to stock, and all will be well.
Reply


Messages In This Thread
Default Function Variable? - by Deji - 15.05.2010, 00:03
Re: Default Function Variable? - by Deji - 15.05.2010, 00:36
Re: Default Function Variable? - by Nero_3D - 15.05.2010, 01:06
Re: Default Function Variable? - by Deji - 15.05.2010, 01:07
Re: Default Function Variable? - by Kyosaur - 15.05.2010, 01:13

Forum Jump:


Users browsing this thread: 2 Guest(s)