Detaljan opis problema: Skratit cu ovaj put jer sam napisao prije 10 min toliko teksta i onda mi zablokirao komp -.- ... Znaci, mijenjao sam enum za igrace i takve stvari i onda sam po potrebi mijenjao ostale stvari sa CRL + H
Dio skripte:
Evo vam kodovi najbitniji!
enum Podaci
{
Lozinka, // Holds the password of the player's account
NovaLozinka, // Holds the new password for the player
Level, // The admin-level of the player
Zatvoren, // Holds jail-time left for this player
ZatvorenTimer, // Holds the reference to the jail-timer
Zamrznut, // Holds the time this player is frozen
ZamrznutTimer, // Holds the reference to the frozen-timer
Upozorenja, // Holds the number of warnings for this player
Banova, // Holds the number of bans for this player
BanTimer, // Holds the time where the player is unbanned automatically (when the ban is over)
bool:Prijavljen, // Holds true if the player has properly logged in
bool:Utisan, // Holds "true" if the player is Utisan
bool:ProcitaoPravila, // Holds "true" if the player accepted the rules
AutoReportTimer, // Used to prevent the anti-hack system reporting the player every half a second when the player uses hacks
KamionDozvola, // Holds "1" if the player has acquired his truckers-license
BusDozvola, // Holds "1" if the player has acquired his busdriver license
Novac, // Holds the money of this player
Score, // Holds the score of this player
ImeIgraca, // Holds the name of the player
Kuce, // Holds the HouseID's of the houses that the player owns (index of the AHouseData array)
TrenutnaKuca, // Holds the HouseID to track in which house the player currently is (used when accessing the housemenu)
Biznisi, // Holds the BusinessID's of the business that the player owns
TrenutniBiznisi, // Holds the BusinessID to track in which business the player currently is (used when accessing the businessmenu)
Klasa, //Holds the Class that the player chose (1 = truckdriver, 2 = taxidriver, ... -> see DEFINES)
SpectateID, // Holds the ID of the other player which this player is spectating
SpectateVozilo, // If the target player is inside a vehicle, store it here
SpectateTip, // Holds the type of spectating (none, player or vehicle)
Float:PrethodniX, // Holds the previous X location of the player (used to detect airbreak hacks)
Float:PrethodniY, // Holds the previous Y location of the player (used to detect airbreak hacks)
Float:PrethodniZ, // Holds the previous Z location of the player (used to detect airbreak hacks)
PrethodniInt, // Holds the previous interior id (used to detect airbreak hacks)
StatsKamion, // Holds the number of succesfully completed trucker-missions
StatsKonvoj, // Holds the number of completed trucking-routes when in a convoy
StatsVozacBusa, // Holds the number of completed busroutes
StatsPilot, // Holds the number of completed pilot-missions
StatsMafija, // Holds the number of completed mafia-missions
StatsMafijaUkradeno, // Holds the number of succesfully deliveries of stolen mafialoads
StatsPolicijaKaznjeno, // Holds the number of fined players for police
StatsPolicijaZatvoreno, // Holds the number of jailed players for police
StatsDostavljac, // Holds the number of completed courier-jobs
StatsAsistent, // Holds the number of player-vehicles that this player has repaired/refuelled
StatsAutomehanicar, // Holds the number of completed roadworker jobs
Float:StatsKilometraza, // Holds the total kilometers that the player has driven already
Text:Brzinomjer, // The TextDraw of the speedometer for this player
Text:Gorivo, // The textdraw of the fuel-gauge for this player
BrzinomjerTimer, // Holds the reference to the speedometer timer for this player
IgracevaBrzina, // Holds the speed of the player
RadarUhvatioIgraca, // This holds a value to prevent being caught multiple times by the same speedcamera
Timer_PoliceCanJailMe, // This holds a reference to the timer which is started when the player got warned by a police player
Value_PoliceCanJailMe, // This holds the remaining time for the Timer_PoliceCanJailPlayer timer
bool:PoliceCanJailMe, // This holds "true" when the player was warned by a police player but didn't stop before the timer ran out
bool:PoliceWarnedMe, // This holds "true" is the player got caught by a police player and got at least one warning
bool:AsistentPotreban, // Holds "true" is the player called for assistance
bool:PosaoZapocet, // States that the player has started a job or not
Text:MissionText, // Displays the mission info at the bottom of the screen
JobID, // Mission ID of the job (in the appropriate array, based on the PlayerClass), not used by truckers
JobStep, // Current step of the job (for trucker: 1 = going to load, 2 = delivering goods to destination)
Putnika, // Holds the number of passengers (used for busdriver, taxi classes)
IgracProvjeraTimer, // A special timer used by certain classes (police, mafia) to check players every second if they're wanted/carrying mafialoads
UtovarTimer, // The timer used for loading and unloading during jobs
VoziloTimerVrijeme, // Holds the remaining seconds for the global vehicletimer
VehicleID, // Holds the ID of the vehicle that the player is driving during his job
TrailerID, // Holds the ID of the trailer that the player has attached during his job (is 0 if no trailer attached)
TeretID, // Holds the ID of the load
PosaoLokacija1, // Holds the LocationID where to pickup the load (used in trucking missions)
PosaoLokacija2, // Holds the LocationID where to deliver the load (used in trucking missions)
bool:Pretovaren, // Holds True if the player's vehicle is overloaded (wanted level increases by 2)
bool:MafijaTeret, // Holds True is the player's load is wanted by the mafia
bool:MafijaTeretUkraden, // Holds true if the mafia-player has hijacked a mafia-load
bool:UKonvoj, // Holds true if the player has joined a convoy already
KonvojID, // Holds the ID of the convoy where this player is a member
KuceDostavljac, // This holds up to 10 HouseID's for use during Courier-missions
DostavljacMaxKorak, // This holds the max number of houses to deliver packages to
DialogFirstItem, // Holds the first array-index where a split dialog must start
DialogCarFirstCar, // Holds the first array-index where the carlist should start when the player asks to choose a car to spawn ("/car")
DialogPlaneFirstPlane, // Holds the first array-index where the planelist should start when the player asks to choose a plane to spawn ("/plane")
DialogTrailerFirstTrailer, // Holds the first array-index where the trailerlist should start when the player asks to choose a trailer to spawn ("/trailer")
DialogRentVClass, // Holds the ID of the chosen vehicle class to process when renting a vehicle
DialogRentCarIndex, // Holds the index in the ABuyableVehicles array which vehicle the player chose to rent
DialogBuyVClass, // Holds the ID of the chose vehicle class to process when buying a vehicle
DialogBuyCarIndex, // Holds the index in the ABuyableVehicles array which vehicle the player chose to buy
DialogGetCarHouseID, // Holds the HouseID from which to get a vehicle when using /getcar
DialogOtherPlayer, // Holds the id of the other player when viewing that other player's stats
DialogOtherPlayerHouse, // Holds the HouseID of the other player when viewing the stats for that house
BankaLozinka, // Bank-system: Used to hold the password to your bank-account
bool:BankaPrijavljen, // Bank-system: Used to determine if you have logged in to your bank account
BankaNovac, // Bank-system: Used to hold the money in your bank-account
UseMoney, // Bank-system: Used to hold the money you're be transferring to another player's account
LastIntrestTime, // Bank-system: Used to hold the last time where your bank account has received intrest
RentVoziloID // Holds the vehicle-id of the rented vehicle (if any)
}
new Korisnik;
Prva linija warninga je...
format(Load, 50, ALoads[Korisnik]); // ALoads sam ostavio, to je drugi enum...
Errori i Warninzi
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(2794) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(2802) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(2806) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(2834) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(2856) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(2862) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(2892) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(2988) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3047) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3049) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3050) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3081) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3084) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3201) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3236) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3247) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3255) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3257) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3258) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3395) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3397) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3398) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3923) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3956) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3958) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3959) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3965) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3991) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3993) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(3994) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4000) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4024) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4026) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4078) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4105) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4127) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4167) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4200) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4202) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4203) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4210) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4245) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4355) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4357) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4398) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4428) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4450) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(4498) : warning 213: tag mismatch
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(5086) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(5086) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(5086) : warning 217: loose indentation
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(5086) : error 017: undefined symbol "HIndex"
C:\Documents and Settings\Petra\Desktop\Projekti\Modern Balkan Trucking Revolution\gamemodes\MBTR.pwn(5086) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
