Posts: 845
Threads: 123
Joined: Dec 2011
Reputation:
0
Hello,
I'm making a Pilot Server from scratch, So I added a MySQL DataBase and I went to run the server and it comes up that the "untitled.amx" Is unknown, Yet its in the "Gamemodes" File, someone Help?
Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
Put your MySQL connection stuff at the end of OnGameModeInit. It sounds stupid but it WILL fix your problems. Trust me.
Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
Well i had this problem, and i just put this at the very bottom of my OnGameModeInit and it worked fine.
Edit: Did not see that he didn't have SetGameModeText.
Posts: 845
Threads: 123
Joined: Dec 2011
Reputation:
0
Still says "file or function is not found" Untitled.amx
Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
Wait? Do you have the MySQL plugin in your plugins folder? And do you have it included under "plugins mysql" on the SA-MP .cfg file?
Edit: iTorran beat me to it..
Posts: 845
Threads: 123
Joined: Dec 2011
Reputation:
0
plugins streamer sscanf Whirlpool a_mysql <<
Defined already and it still says it.