SA-MP Forums Archive
How do you add a script? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How do you add a script? (/showthread.php?tid=262851)



How do you add a script? - Tinchy - 19.06.2011

How do you add a include or a filter script if someone could give me a CLEAR Tutorial on how to do it would be great thanks!


Re: How do you add a script? - Deskoft - 19.06.2011

a include is a file that is included to your server (pretty self-explanatory), you place into your pawno>includes folder. a filterscript goes in the filterscript folder, then edit your server.cfg and change the "filterscripts" line.


Re: How do you add a script? - Tinchy - 19.06.2011

Yea Have you got any tutorials on that?


Re: How do you add a script? - Unknown_Killer - 19.06.2011

https://sampwiki.blast.hk/wiki/Scripting_Basics

https://sampwiki.blast.hk/wiki/Category:Scripting_Functions

https://sampwiki.blast.hk/wiki/Category:Scripting_Callbacks

https://sampwiki.blast.hk/wiki/Scripting_Editors

https://sampwiki.blast.hk/wiki/Category:Tutorials

also check

https://sampwiki.blast.hk/

those stuff need time so if u got no time then u wont learn.

Advice : when u start reading also test commands to find how it works


Re: How do you add a script? - Tinchy - 19.06.2011

Where do i write these In notepad?


Re: How do you add a script? - Unknown_Killer - 19.06.2011

1) first download : http://team.sa-mp.com/files/samp03csvr_R2-2_win32.zip

2) put the files in your gta sa folder (the place where u install samp)

3) go to pawno (this file located in your gta sa folder)

4) click on pawno.exe

5) click on new in pawno.exe

this is the program for writing.

@ gamemodes (this file located in your gta sa folder) you will find some files name like lvdm.pwn | lvdm.amx

.pwn is where u write your codes | .amx is untouch able because u use it for running ur script.

check how they works and read wiki.

1 more thing when u edit script in pawno.exe press f5 to compile it.