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.