weird problem - 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: weird problem (
/showthread.php?tid=483384)
weird problem -
count.php - 25.12.2013
okay i have house system, and it's not working, it's weird problem
Код:
#if defined _namai_ikelta
#endinput
#endif
#define _namai_ikelta
#if !defined _samp_included
#error "Butina prideti a_samp pries zaideju saugojimo sistema"
#endif
#if !defined _sscanf2_included
#error "You need sscanf2.inc"
#endif
#if !defined mysql_included
#error "You need a_mysql.inc"
#endif
#if !defined _zcmd_included
#error "You need zcmd.inc"
#endif
#if !defined _foreach_included
#error "You need foreach.inc"
#endif
okay now you see house system requesting includes, all includes are in folders, it's alright.
but when i'm compling gamemode it's shows:
Код:
fatal error 111: user error: "You need sscanf2.inc"
but if I will change places like change sscanf with a_mysql
then I got error
Код:
fatal error 111: user error: "You need a_mysql.inc"
Re: weird problem -
dannyk0ed - 25.12.2013
Goto your game mode and at the top do #include sscanf2 and the rest of them
Re: weird problem -
count.php - 25.12.2013
Quote:
Originally Posted by dannyk0ed
Goto your game mode and at the top do #include sscanf2 and the rest of them
|
Did you even read my problem? It's all done with #includes
Код:
#include <a_samp>
#include <sscanf2>
#include <mysql>
#include <zcmd>
#include <streamer>
#include <foreach>
#include <audio>
#include <rand>
#include <OPVD>
Re: weird problem -
TonyNames - 25.12.2013
Do you have the plugins? or did you touch your includes? Try update them.
Re: weird problem -
count.php - 25.12.2013
Quote:
Originally Posted by TonyNames
Do you have the plugins? or did you touch your includes? Try update them.
|
All updated, nothing
Re: weird problem -
TonyNames - 25.12.2013
Hmm try these includes.
Код:
#include <a_samp>
#include <mysql>
#include <sscanf2>
#include <zcmd>
#include <streamer>
#include <foreach>
#include <audio>
#include <rand>
#include <OPVD>
Re: weird problem -
count.php - 25.12.2013
Ahhhhh!!! No, it's not working, please help.
Re: weird problem -
TonyNames - 25.12.2013
Код:
#include <a_samp>
#include <streamer>
#include <foreach>
#include <audio>
#include <OPVD>
#include <rand>
#include <zcmd>
#include <sscanf2>
and the
i think it aint supposed to stay there i think you should move it a but down. If you have
Код:
new acstruct[MAX_PLAYERS][AC_STRUCT_INFO];
i think you should put it under that one, cuz in script its not at the other includes. But if you dont have that one then just move your Mysql include down
Re: weird problem -
count.php - 25.12.2013
Still doesen't work !!!
Re: weird problem -
TonyNames - 25.12.2013
Are you sure that you putted it in the right place? That mysql include?