How do i make an include?
#2

You can look at e.g. a_samp.inc for an example.
It look like this at the beginning:

pawn Код:
#if defined _samp_included    //This prevents including the same include more than once
    #endinput
#endif
#define _samp_included        //See upper comment
#pragma library samp           //This line marks the script as an include
Just copy it and change the names to your wanted name. Then save it in the include folder and you can include it to your script.
Reply


Messages In This Thread
How do i make an include? - by fie - 16.10.2010, 16:25
Re: How do i make an include? - by Mauzen - 16.10.2010, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)