qustion about Native function();
#1

what does 'native' do?
I know where it's used and I see it's always used to show all functions of an include

it's used like this:
Code:
native SetConsoleTextColor(Attributes);
so what does it do? does anything changes if I delete it?
Reply
#2

yup
when u delete it, when you compile you get undefined symbol...
the native is used to find the symbol when we use a plugin functions
Reply
#3

yes, and pawno.exe reads them and adds them into the side panel from the include. you can use advantage of your own include-based functions like u create a funciton in an include and use native f(x) where f is your funciton and x is param. it would give you a nice listing for the include ;]
Reply
#4

As habitually, just open the Pawn manual, click on Functions/Native functions, and read! If you don't have a .pdf reader, i suggest you install Sumatra pdf.
Reply
#5

well, opera opens .pdf files just fine for me ;]
Reply
#6

Quote:
Originally Posted by Izanagi
well, opera opens .pdf files just fine for me ;]
Unfortunately Chrome don't, yet.
Reply
#7

first, it is 'doesn't' and second, I see... well that's sad ;] anyway I have acrobat reader too just in case. it came with windows, so..
Reply
#8

thanks all
Reply
#9

Chrome can open pdf, but it need acrobat and it's plugin to be installed. Thanks for correcting me, i'm not english.
Reply
#10

wel, it can but with a plugin, which is not possesed by every and single chrome user ;]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)