Not loading Includes
#1

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"
Reply
#2

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

I am asking where I would put the includes.
Reply
#4

server0.3z/pawno/include/wcrp/
Reply
#5

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
Reply
#6

include format .inc
try to Get the latest includes !
Reply
#7

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"
Reply
#8

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

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)