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



code - dhiamoulazem - 16.10.2013

i have problem if i want to download scriptfiles he give me code like thes http://pastebin.com/CW205Krp someone explain to me how i download thes plzzzzz ?


Re : code - MCZOFT - 16.10.2013

Copy the TXT source

open Pawn , click new

CTRL + A and dellet evry think

and after that CTRL + V the Source code (txt you've copy)

and compile
add your filter script to your server.cfg

Enjoy



if i've helped you pelase +REP


Re: code - DanishHaq - 16.10.2013

Go into pawno.exe

File > New
CTRL + A > Delete
Go to the pastebin, select all of the code
CTRL + C
Go back to pawno.exe
CTRL + V
Press F5 and compile it to the filterscripts folder, but make sure you have all the include files first.

Edit: Posted same time :P.


Re: code - DarkLored - 16.10.2013

You cannot download it you need to copy it to your gamemode or filter script
if you want to download it there is a download bouttem in the top
but you will still need to convert it to pawn


Re: code - Noble - 16.10.2013

You can right click on the raw page and save as a .pwn file. http://pastebin.com/raw.php?i=CW205Krp


Re: code - dhiamoulazem - 16.10.2013

thanks all for your help


Re: code - dhiamoulazem - 16.10.2013

@mczoft thanks but what you mean add your filter script to your server.cfg


Re: code - DanishHaq - 16.10.2013

If you open your server.cfg file, you will probably find a "filterscripts" line, so do it like this:

Quote:

filterscripts filterscriptname

If you already have a filterscript on that line, you'll need to add it. The way to add it is to simply put a space after the previous one and type the new name in, like this:

Quote:

filterscripts filterscriptname filterscriptname2

The name of the filterscript must be the same name as the one as the saved .amx file in your .../filterscripts/ folder.


Re: code - Danialdano - 16.10.2013

Copy it and paste it into a filterscript or somethin