How to fix gamemode
#1

Hello, i want to ask something and i need your help how to fix this
when i put gamemode .pwn and .amx its still "Uknown" gamemode

Reply
#2

Try re-compiling the gamemode with latest includes and use latest plugins.
Reply
#3

Hello.
Is that a your GM? If yes, put a
Код:
SetGameModeText("Name Here");
into public
Код:
public OnGameModeInit()
If it's not your, don't use it. I hope I helped you, bye
Reply
#4

Quote:
Originally Posted by Gameluner
Посмотреть сообщение
Hello.
Is that a your GM? If yes, put a
Код:
SetGameModeText("Name Here");
into public
Код:
public OnGameModeInit()
If it's not your, don't use it. I hope I helped you, bye
Still not working dude
Reply
#5

Please post the server_log.txt
Reply
#6

Please tell us more details, about your problem like:
Is hosted? Windows/Linux? Please post the server_log.txt and server.cfg

You may don't type corectly the plugins in your server.cfg.
Reply
#7

Can you show us you OnGameModeInit?
Reply
#8

Quote:
Originally Posted by Hackzzzz
Посмотреть сообщение
Please tell us more details, about your problem like:
Is hosted? Windows/Linux? Please post the server_log.txt and server.cfg

You may don't type corectly the plugins in your server.cfg.
Hmm, our host is Linux
this is our server.log
Код:
----------
Loaded log file: "server_log.txt".
----------

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

[01/12/2017 07:00:19] 
[01/12/2017 07:00:19] Server Plugins
[01/12/2017 07:00:19] --------------
[01/12/2017 07:00:19]  Loading plugin: mysql
[01/12/2017 07:00:19]   Failed (plugins/mysql: cannot open shared object file: No such file or directory)
[01/12/2017 07:00:19]  Loading plugin: streamer
[01/12/2017 07:00:19]   Failed (plugins/streamer: cannot open shared object file: No such file or directory)
[01/12/2017 07:00:19]  Loading plugin: Whirlpool
[01/12/2017 07:00:19]   Failed (plugins/Whirlpool: cannot open shared object file: No such file or directory)
[01/12/2017 07:00:19]  Loaded 0 plugins.

[01/12/2017 07:00:19] 
[01/12/2017 07:00:19] Filterscripts
[01/12/2017 07:00:19] ---------------
[01/12/2017 07:00:19]   Loading filterscript 'yom_buttons.amx'...
[01/12/2017 07:00:19]   Loading filterscript 'anims.amx'...
[01/12/2017 07:00:19]   Loaded 2 filterscripts.

[01/12/2017 07:00:19] Script[gamemodes/ERP.amx]: Run time error 17: "Invalid/unsupported P-code file format"
[01/12/2017 07:00:19] Failed to load 'gamemodes/ERP.amx' script.
[01/12/2017 07:00:19] Number of vehicle models: 0
Reply
#9

Your gamemode isn't loaded because you haven't correctly added mysql, streamer and Whirlpool.

If you are on windows use .dll if on linux use .so
Reply
#10

The problem is with your plugins. Please check your server.cfg at the line "plugins" to have the termination.so

Ex: mysql.so streamer.so etc.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)