How to create a include ?
#1

Anybody can help me with that ?
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=497081
Reply
#3

That tutorial explains how to write a library. An include on its own is just that, in included file. Contents could be anything. The content is simply inserted at the desired position during compilation. For example, you could copy all your objects to a separate file and then use something like

pawn Код:
public OnGameModeInit()
{
    #tryinclude "myObjects.pwn"
    return 1;
}
Reply
#4

Vince thanks
but what is the limit of the objects i can add .. ?
btw ..how can i include .pwn files ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)