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



Little help - schoolboy - 04.07.2016

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.


Re: Little help - FuNkYTheGreat - 04.07.2016

show us your server.cfg here


Re: Little help - Dayrion - 04.07.2016

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


Re: Little help - schoolboy - 04.07.2016

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.


Re: Little help - NoahF - 04.07.2016

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


Re: Little help - schoolboy - 04.07.2016

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.


Re: Little help - Mencent - 04.07.2016

Hello!

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


Re: Little help - schoolboy - 04.07.2016

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


Re: Little help - Dayrion - 04.07.2016

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


Re: Little help - schoolboy - 04.07.2016

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

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