Raised This Month: $ Target: $400
 0% 

Plugin does not call OnPluginStart when changing map


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
marco811
New Member
Join Date: Jul 2019
Old 07-13-2019 , 19:39   Plugin does not call OnPluginStart when changing map
Reply With Quote #1

Hello. I am creating my first plugin but I have some serious problems. I was testing on my CSGO server in linux and when I changed the map the plugin does not call OnPluginStart. I thought it was a server problem, I installed a clean server on my computer (windows) and I have exactly the same problem.

My plugin:

Code:
#include <sourcemod>

public Plugin myinfo = {
	name = "Test plugin",
	author = "",
	description = "",
	version = "1.0",
	url = ""
};

public void OnPluginStart() {
	LogMessage("======================HELLO WORLD=========================");
}
My log file:
Code:
L 07/14/2019 - 01:36:47: SourceMod log file session started (file "L20190714.log") (Version "1.9.0.6281")
L 07/14/2019 - 01:36:47: -------- Mapchange to de_dust2 --------
L 07/14/2019 - 01:36:47: [test_plugin.smx] ======================HELLO WORLD=========================
L 07/14/2019 - 01:37:03: -------- Mapchange to de_dust2 --------
L 07/14/2019 - 01:37:11: -------- Mapchange to de_dust2 --------
L 07/14/2019 - 01:37:32: -------- Mapchange to de_dust2 --------
What am I doing wrong?
marco811 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode