million code break apart in Include.inc?
#1

I have an idea....
Can i use CallLocalFunction to call function and break apart the crazy pwn codes into inc?
new.inc
forward.inc
vehs.inc
buildings.inc
missions.inc
otherfunctions.inc
family.inc
Reply
#2

You don't need to use CallLocalFunction.
Just #include <filename.pwn>
Reply
#3

I tried
but error...
Reply
#4

You have to make sure you include your file at the correct place. It has to be above your function calls, but after your defines.

For example:

Код:
#include <a_samp>

#define BLA 

#include somethingThatUsesBLA.pwn

FunctionWhichisinSomethingThatUsesBla()
{

}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)