SA-MP Forums Archive
Not loading Includes - 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 loading Includes (/showthread.php?tid=563385)



Not loading Includes - Alex_T - 15.02.2015

Where would I put these includes? In the pawno includes or...


pawn Код:
#include "wcrp\utils.pwn"
#include "wcrp\textdraws.pwn"
#include "wcrp\colourcodes.pwn"
#include "wcrp\admin.pwn"
#include "wcrp\account.pwn" //account/character related functions get forwarded here
//#include "wcrp\weather.pwn"
#include "wcrp\rp.pwn" //generic RP related stuff here(such as /me, /do)
#include "wcrp\anticheat.pwn"
#include "wcrp\vehicles.pwn"
#include "wcrp\fishing.pwn"
#include "wcrp\business.pwn"
//jobs was here
#include "wcrp\interiors.pwn"
#include "wcrp\families.pwn"
#include "wcrp\houses.pwn"
#include "wcrp\jobs.pwn"
#include "wcrp\safes.pwn"
#include "wcrp\points.pwn"
#include "wcrp\turfs.pwn"
#include "wcrp\VIP.pwn"
#include "wcrp\accessories.pwn"
#include "wcrp\hospital.pwn"
#include "wcrp\factions.pwn"
#include "wcrp\mapping.pwn" //generic NON-DONATOR mapping
#include "wcrp\anims.pwn"
#include "wcrp\gov.pwn"
#include "wcrp\training.pwn"
#include "wcrp\paintball.pwn"
#include "wcrp\boxing.pwn"
#include "wcrp\cameras.pwn"
#include "wcrp\lockers.pwn"
#include "wcrp\IRC.pwn"
#include "wcrp\seatbelt.pwn"
#include "wcrp\anticbug.pwn"
#include "wcrp\help.pwn"
#include "wcrp\logging.pwn"
#include "wcrp\npc.pwn"
#include "wcrp\GPS.pwn"
#include "wcrp\radio.pwn"
#include "wcrp\keybinder.pwn"
//#include "wcrp\donatormapping.pwn"
#include "wcrp\plants.pwn"
#include "wcrp\forumsync.pwn"
#include "wcrp\itemdropping.pwn"
#include "wcrp\illegalbusiness.pwn"
#include "wcrp\bomb.pwn"
#include "wcrp\disease.pwn"
//weather was here
#include "wcrp\racing.pwn"
#include "wcrp\externalfuncs.pwn" //functions for use with CallRemoteFunction in other scripts
#include "wcrp\lotto.pwn"
#include "wcrp\housefurniture.pwn"
//#include "wcrp\evidencesystem.pwn" //Must be before the damage system
//#include "wcrp\damagesystem.pwn"
#include "wcrp\payphones.pwn" //Payphones
#include "wcrp\apartments.pwn" //Apartments
//#include "wcrp\gunfactory.pwn" //Gun factory, including dialogs
//#include "wcrp\servermottos.pwn" //Server auto namechanger
#include "wcrp\walltags.pwn" //Wall tags (families only)
#include "wcrp\specialitems.pwn"
#include "wcrp\hunger.pwn"
#include "wcrp\votekick.pwn"
#include "wcrp\speedtraps.pwn"
#include "wcrp\fpscamplusdb.pwn"
#include "wcrp\sqlqueries.pwn"
#include "wcrp\cartoys.pwn"
#include "wcrp\basketball.pwn"
#include "wcrp\cheats.pwn"
#include "wcrp\events.pwn"



Re: Not loading Includes - Maximus0 - 15.02.2015

You don't make any sense, anyway aren't you getting any error?


Re: Not loading Includes - Alex_T - 15.02.2015

I am asking where I would put the includes.


Re: Not loading Includes - Golf - 15.02.2015

server0.3z/pawno/include/wcrp/


Re: Not loading Includes - Alex_T - 15.02.2015

I keep getting
pawn Код:
[12:47:39] Failed to create disconnect file!

[12:47:39] Failed to open disconnect file!

[12:47:39] Failed to create connect file!

[12:47:39] Failed to open connect file!

[12:47:39] Failed to create command log!

[12:47:39] Failed to open command log

[12:47:39] Failed to create kill log!

[12:47:39] Failed to open kill log

[12:47:39] Failed to create pay log!

[12:47:39] Failed to open pay log

[12:47:39] Failed to create admin log!

[12:47:39] Failed to open admin log



Re: Not loading Includes - Golf - 15.02.2015

include format .inc
try to Get the latest includes !


Re: Not loading Includes - Alex_T - 15.02.2015

Quote:
Originally Posted by Golf
Посмотреть сообщение
include format .inc
try to Get the latest includes !
What? The includes I am using are these

pawn Код:
#include <YSI\y_commands>
#include <YSI\y_master>
#include <YSI\y_colours>
#include <YSI\y_timers>
#include <a_samp>
#include <core>

//all non-samp includes below
#undef MAX_PLAYERS
#define MAX_PLAYERS 250 //update this with the server slots
#include <dns>
#include <streamer>
#include <a_mysql>
#include <foreach>
#include <sscanf2>
#include <progress> //for fuel bars taken from old script
//#include <timerfix>
#include "wcrp\utils.pwn"
#include "wcrp\textdraws.pwn"
#include "wcrp\colourcodes.pwn"
#include "wcrp\admin.pwn"
#include "wcrp\account.pwn" //account/character related functions get forwarded here
//#include "wcrp\weather.pwn"
#include "wcrp\rp.pwn" //generic RP related stuff here(such as /me, /do)
#include "wcrp\anticheat.pwn"
#include "wcrp\vehicles.pwn"
#include "wcrp\fishing.pwn"
#include "wcrp\business.pwn"
//jobs was here
#include "wcrp\interiors.pwn"
#include "wcrp\families.pwn"
#include "wcrp\houses.pwn"
#include "wcrp\jobs.pwn"
#include "wcrp\safes.pwn"
#include "wcrp\points.pwn"
#include "wcrp\turfs.pwn"
#include "wcrp\VIP.pwn"
#include "wcrp\accessories.pwn"
#include "wcrp\hospital.pwn"
#include "wcrp\factions.pwn"
#include "wcrp\mapping.pwn" //generic NON-DONATOR mapping
#include "wcrp\anims.pwn"
#include "wcrp\gov.pwn"
#include "wcrp\training.pwn"
#include "wcrp\paintball.pwn"
#include "wcrp\boxing.pwn"
#include "wcrp\cameras.pwn"
#include "wcrp\lockers.pwn"
#include "wcrp\IRC.pwn"
#include "wcrp\seatbelt.pwn"
#include "wcrp\anticbug.pwn"
#include "wcrp\help.pwn"
#include "wcrp\logging.pwn"
#include "wcrp\npc.pwn"
#include "wcrp\GPS.pwn"
#include "wcrp\radio.pwn"
#include "wcrp\keybinder.pwn"
//#include "wcrp\donatormapping.pwn"
#include "wcrp\plants.pwn"
#include "wcrp\forumsync.pwn"
#include "wcrp\itemdropping.pwn"
#include "wcrp\illegalbusiness.pwn"
#include "wcrp\bomb.pwn"
#include "wcrp\disease.pwn"
//weather was here
#include "wcrp\racing.pwn"
#include "wcrp\externalfuncs.pwn" //functions for use with CallRemoteFunction in other scripts
#include "wcrp\lotto.pwn"
#include "wcrp\housefurniture.pwn"
//#include "wcrp\evidencesystem.pwn" //Must be before the damage system
//#include "wcrp\damagesystem.pwn"
#include "wcrp\payphones.pwn" //Payphones
#include "wcrp\apartments.pwn" //Apartments
//#include "wcrp\gunfactory.pwn" //Gun factory, including dialogs
//#include "wcrp\servermottos.pwn" //Server auto namechanger
#include "wcrp\walltags.pwn" //Wall tags (families only)
#include "wcrp\specialitems.pwn"
#include "wcrp\hunger.pwn"
#include "wcrp\votekick.pwn"
#include "wcrp\speedtraps.pwn"
#include "wcrp\fpscamplusdb.pwn"
#include "wcrp\sqlqueries.pwn"
#include "wcrp\cartoys.pwn"
#include "wcrp\basketball.pwn"
#include "wcrp\cheats.pwn"
#include "wcrp\events.pwn"



Re: Not loading Includes - Sn00Py - 15.02.2015

It's not about includes, the gamemode is bugged at all (trust me, I tried all to make it work).


Re: Not loading Includes - Alex_T - 15.02.2015

Alright it is no longershowing failed to create logs and shit. It is just not showing the login dialog.


Re: Not loading Includes - Sn00Py - 15.02.2015

Quote:
Originally Posted by Alex_T
Посмотреть сообщение
Alright it is no longershowing failed to create logs and shit. It is just not showing the login dialog.
Now it's about the mySQL connection. Check your mySQL connection informations.