25.08.2015, 02:03
(
Последний раз редактировалось SkittlesAreFalling; 25.08.2015 в 02:44.
)
Quote:
Код:
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [00:23:32] [00:23:32] Server Plugins [00:23:32] -------------- [00:23:32] Loading plugin: lua_samp [00:23:32] Lua in SA-MP v0.2.4 by DrAkE successfully loaded. [00:23:32] Loaded. [00:23:32] Loaded 1 plugins. [00:23:32] [00:23:32] Filterscripts [00:23:32] --------------- [00:23:32] Loading filterscript 'rcon.amx'... [00:23:32] Loaded 1 filterscripts. [00:23:32] Number of vehicle models: 0 |
You can also edit base.pwn to look like:
Код:
#include <a_samp> main(){} public OnGameModeInit(){ SetTimer("StartResource", 1000, false); // It's a timer because Lua hasn't loaded yet, give it a second. return true; } forward StartResource(); public StartResource() { SendRconCommand("start lvdm"); // Edit "lvdm" to the name of your resource. return true; }
For Drake1994:
My suggestion is to use a sampserver.config like in MTA (mtaserver.config) where you can change the server name, what resources load on start-up, and such.