Little help
#1

So today i've just decided to learn scripting and i watched a few ******* vids, i created a gamemode just the same way as the ******* did but them when i try opening samp.server.exe it automatically closes, it says it couldnt load a gamemode or something like that
little help please.
Reply
#2

show us your server.cfg here
Reply
#3

Show server_log.txt, you will know what is the problem.
Reply
#4

Okay woah i just deleted the first one and re downloaded and it happens again idk if it's because i have windows 10 or what but this folder is new and it closes here also.
Reply
#5

In the server config, change the RCON password to something else. it'll work after you do that.
Reply
#6

Give me a second i'll show.


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:26:14] filterscripts = "" (string)
[13:26:14] plugins = "" (string)
[13:26:14]
[13:26:14] Server Plugins
[13:26:14] --------------
[13:26:14] Loaded 0 plugins.

[13:26:14] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:26:14] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:27:03] filterscripts = "" (string)
[13:27:03] plugins = "" (string)
[13:27:03]
[13:27:03] Server Plugins
[13:27:03] --------------
[13:27:03] Loaded 0 plugins.

[13:27:03] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:27:03] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:27:47] filterscripts = "" (string)
[13:27:47] plugins = "" (string)
[13:27:47]
[13:27:47] Server Plugins
[13:27:47] --------------
[13:27:47] Loaded 0 plugins.

[13:27:47] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:27:47] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:28:29] filterscripts = "" (string)
[13:28:29] plugins = "" (string)
[13:28:29]
[13:28:29] Server Plugins
[13:28:29] --------------
[13:28:29] Loaded 0 plugins.

[13:28:29] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:28:29] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:28:34] filterscripts = "" (string)
[13:28:34] plugins = "" (string)
[13:28:34]
[13:28:34] Server Plugins
[13:28:34] --------------
[13:28:34] Loaded 0 plugins.

[13:28:34] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:28:34] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:46:17] filterscripts = "" (string)
[13:46:17] plugins = "" (string)
[13:46:17]
[13:46:17] Server Plugins
[13:46:17] --------------
[13:46:17] Loaded 0 plugins.

[13:46:17] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:46:17] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:46:19] filterscripts = "" (string)
[13:46:19] plugins = "" (string)
[13:46:19]
[13:46:19] Server Plugins
[13:46:19] --------------
[13:46:19] Loaded 0 plugins.

[13:46:20] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:46:20] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:47:25] filterscripts = "" (string)
[13:47:25] plugins = "" (string)
[13:47:25]
[13:47:25] Server Plugins
[13:47:25] --------------
[13:47:25] Loaded 0 plugins.

[13:47:25] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:47:25] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:47:33] filterscripts = "" (string)
[13:47:33] plugins = "" (string)
[13:47:33]
[13:47:33] Server Plugins
[13:47:33] --------------
[13:47:33] Loaded 0 plugins.

[13:47:33] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:47:33] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:48:05] filterscripts = "" (string)
[13:48:05] plugins = "" (string)
[13:48:05]
[13:48:05] Server Plugins
[13:48:05] --------------
[13:48:05] Loaded 0 plugins.

[13:48:05] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:48:05] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:49:16] filterscripts = "" (string)
[13:49:16] plugins = "" (string)
[13:49:16]
[13:49:16] Server Plugins
[13:49:16] --------------
[13:49:16] Loaded 0 plugins.

[13:49:16] I couldn't load any gamemode scripts. Please verify your server.cfg
[13:49:16] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[14:02:25] filterscripts = "" (string)
[14:02:25] plugins = "" (string)
[14:02:25]
[14:02:25] Server Plugins
[14:02:25] --------------
[14:02:25] Loaded 0 plugins.

[14:02:25] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:02:25] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[14:03:21]
[14:03:21] Server Plugins
[14:03:21] --------------
[14:03:21] Loaded 0 plugins.

[14:03:21] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:03:21] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[14:03:23]
[14:03:23] Server Plugins
[14:03:23] --------------
[14:03:23] Loaded 0 plugins.

[14:03:23] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:03:23] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[14:04:13]
[14:04:13] Server Plugins
[14:04:13] --------------
[14:04:13] Loaded 0 plugins.

[14:04:13] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:04:13] It needs a gamemode0 line at the very least.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[14:14:51]
[14:14:51] Server Plugins
[14:14:51] --------------
[14:14:51] Loaded 0 plugins.

[14:14:51] I couldn't load any gamemode scripts. Please verify your server.cfg
[14:14:51] It needs a gamemode0 line at the very least.
Reply
#7

Hello!

You have to compile your script. Maybe it's failed because you have errors. Show us your errors.
Reply
#8

Sorry for this but i'm really new, how do i show my errors?
Reply
#9

Open you gamemode in .pwn with pawno for example. Press F5 and show us what happens.
Reply
#10

This?
/************************************************** *****************************
Pawno Tutorials 2016
************************************************** *****************************/
#include <a_samp>


main()
{
print("\n\n\n\n\n\n\n\n\n\n");
print("\n\n\n\n\n\n\n\n\n\n");
print("\n\n\n\n\n\n\n\n\n\n");
print("\n\n\n\n\n\n\n\n\n\n");
print(" **** Pawno tutorials gamemode successfully launched! ***\n\n");


}


public OnGameModeInit()
{

SetGameModeText("TDM");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

/************************************************** *****************************

The end of gamemode

************************************************** *****************************/
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)