SA-MP Forums Archive
Not Connected - 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: Not Connected (/showthread.php?tid=634333)



Not Connected - aoky - 16.05.2017

Hey, so I managed to fix all the errors! Now my only issue is that the server wont load the settings that are used to connect to the MySQL. I use .pwn so it connects, here is an example:

PHP код:
#include "/modules/server/connection.pwn"
#include "/modules/server/load_settings.pwn"
#include "/modules/server/features/login_music.pwn"
#include "modules/business/functions.pwn"
#include "modules/houses/functions.pwn"
#include "modules/player/connect/cameras.pwn"
#include "modules/player/connect/banning.pwn"
//#include "modules/player/connect/cameras.pwn"
//#include "modules/player/animations.pwn" 
It's not connecting any of them and I'm not sure if maybe I should change the directory some how, or what else I could do?


Re: Not Connected - SyS - 17.05.2017

The modules having same name can cause problems like that (two functions.pwn)


Re: Not Connected - Fairuz - 17.05.2017

why do you put '/' in front of it?I don't know if that's the problem though.
PHP код:
#include "modules/server/connection.pwn" 
#include "modules/server/load_settings.pwn" 
#include "modules/server/features/login_music.pwn"