Pomoc u vezi errora i warringa

Započeo Codaa, Septembar 04, 2019, 14:21:11 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): Imam errore i warringe ovo su
Deo skripte:             for(new g = 0; g <= MAX_GARAGES; g++)
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Slika/video ingame problema(obavezno ako je ingame problem):
Invalid expresion assumed zero
Pawno:  for(new g = 0; g <= MAX_GARAGES; g++)

Invalid Function or Declaration
Pawno:                                 if(GarageInfo[g][IntID] = 0) GarageInterior = "{FFFF00}Small";
                                if(GarageInfo[g][IntID] = 2) GarageInterior = "{00FF00}Medium";
                                if(GarageInfo[g][IntID] = 3) GarageInterior = "{00FF00}Medium";
                                if(GarageInfo[g][IntID] = 1) GarageInterior = "{FF0000}Big";
                                GarageInfo[g][Status] = 0;
                                if(GarageInfo[g][Price] == 0) format(string,sizeof(string),"Owner: {FF0000}%s\n{FFFFFF}Price: {00FF00}Free\n{FFFFFF}Status: {00FF00}Unlocked\n{FFFFFF}Interior: %s", dini_Get(Garage, "Owner"), GarageInterior);

expected token: ";", but found "{"
{

expected token: ";", but found "-identifier-"

        new string[256] LoadString[256] GarageInterior[128] GarageLocked[128] GarageOwner[MAX_PLAYER_NAME];

invalid array size (negative, zero or out of bounds)

new GarageInfo[MAX_GARAGES][gInfo];

function heading differs from prototype


             

 u PAWN jeziku ne postoji kao upit...

== umesto = u if-u
My tutorials: y_inline & y_dialog, Ternary Operator, y_flooding, y_bit, samp-logger, Pawn Plus I Deo ( Dynamic Strings ), Map Zones, TextDraw Buttons, y_iterate, easyDialog, samp-plugin-timerfix
My includes: TextDraw Buttons


Respect: Bunta, Vedran, Ivan Bagarić, Itz.Yansi, Rade Ćurić (ni ja ne verujem)
Biggest respect goes to: ADRFranklin


Citat: Vodka PlayObožavam te "skriptere" koji probleme rešavaju tako što menjaju mod svaka 2 dana, tako će sigurno naučiti.
Neko im nacrta u temi Å¡ta treba uraditi, al' ne vredi nisu svi za skriptanje.