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



Include Help - TazmaNiax - 02.06.2014

hi Everyone,
i wanna ask something!
how to make Text Document to include files ??
I use include GetVehicleColor from Ryder, and I'm confused how to turn it into an include file
can anybody help?


Re: Include Help - Konstantinos - 02.06.2014

Two ways:

1) Click on "RAW" (it's next to "DOWNLOAD") and Save as - File name: GetVehicleColor.inc and Save as type: All files.

You'll have to open the include file though and remove these first lines:
pawn Код:
<!-- saved from url=(0038)[url]http://pastebin.com/raw.php?i=CS5X1C96[/url] -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css"></style></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
2) Copy-paste an include file. Change the name of it and open it. Select all, delete and paste the code from pastebin. Save and you're done.


Re: Include Help - TazmaNiax - 02.06.2014

thanks it's working