How to create a include ? - 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)
+--- Thread: How to create a include ? (
/showthread.php?tid=573117)
How to create a include ? -
Toxik - 04.05.2015
Anybody can help me with that ?
Re: How to create a include ? -
[KHK]Khalid - 04.05.2015
https://sampforum.blast.hk/showthread.php?tid=497081
Re: How to create a include ? -
Vince - 05.05.2015
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;
}
Re: How to create a include ? -
Toxik - 05.05.2015
Vince thanks
but what is the limit of the objects i can add .. ?
btw ..how can i include .pwn files ?