05.07.2015, 23:37
Quote:
First thing, good job!
Second one is that I really want to use this but I'm confused on how to set everything up and running. Can someone help me out? Thank you. |
Basically all you need to do is download one of the releases and copy all the files and folders into your server directory.
Next just set your gamemode to a blank script and set your filterscript to samp.js
Add samp.js.[so/dll] to your plugins line in the config file
Add a line to your config called jsfiles with a name of a javascript file you would like to load as your script/mode. For example
Код:
jsfiles main.js
You can use this script here https://github.com/damospiderman/sam...xamples/new.js to get you started, its the javascript equivalent of new.pwn
Example Config
Код:
echo Executing Server Config... lanmode 0 rcon_password changeme maxplayers 50 port 7777 hostname SA-MP 0.3 Server gamemode0 bare 1 filterscripts samp.js query 1 chatlogging 0 weburl www.sa-mp.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 10 logtimeformat [%H:%M:%S] language English plugins samp.js.dll jsfiles main.js