Fake natives and Pawno - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Fake natives and Pawno (
/showthread.php?tid=181697)
Fake natives and Pawno -
ZecKo - 06.10.2010
Hi, I made a file called "pen0_natives.inc" and typed in my script
Код:
#include "pen0_natives"
with some commented natives :
http://pastebin.com/bhxW2epu
But even after restarting Pawno there is none of these functions in the list on the right of Pawno as the wiki said it would be. Why ?
Re: Fake natives and Pawno -
Mauzen - 07.10.2010
It is possible that the normal pawno editor does not read commented lines. The only way to show them then would be to uncomment, but i guess this would create conflicts with the real functions
Re: Fake natives and Pawno -
LarzI - 07.10.2010
..?
Re: Fake natives and Pawno -
ZecKo - 08.10.2010
Mauzen the Wiki say it reads it.

LarzI..? By the way it's already included.
Re: Fake natives and Pawno -
LarzI - 09.10.2010
Quote:
Originally Posted by ZecKo
Mauzen the Wiki say it reads it. 
LarzI..? By the way it's already included.
|
Just to be sure; I meant in the include.
My bad if it's included, but it wasn't provided in the pastebin link.
Re: Fake natives and Pawno -
Simon - 09.10.2010
I think the next important step would be to put that pen0_natives.inc file in your pawno\includes folder of the Pawno you're using. The #include line simply tells the compiler where the file is, not the editor -- the editor only searches the pawno\includes folder.