SA-MP Forums Archive
Need Help - 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: Need Help (/showthread.php?tid=286272)



Need Help - Joco5 - 27.09.2011

Hello all samp scripters about this script
https://sampforum.blast.hk/showthread.php?tid=23051
I want to make houses reading from include file. example
Houses are reading in script under OnFilterScriptInit
and
addhouse1
2
3
I want to make it with #include <houses>

and all house coords be located in houses include




Re: Need Help - sleepysnowflake - 27.09.2011

Anywhere you want to include your thingy :

pawn Код:
#include "SUMTITLE.pwn" // So ... I suggest you add it somewhere at the beggining after the a_sapm include.
Now in the same directory where your FS is (In the FS folder) you add a .pwn file named : SUMTITLE or whateva'. The name gotta be same in the FS / FS directory. :3 Hope you understood. If not tell me.