error 018: initialization data exceeds declared size
#8

also i got one problem too and if u guys can help me, i'll be very thankful <3

PHP код:
modules/Systems/LSPD/MDC.pwn(318 ) : error 001expected token";"but found "-identifier-" 
PHP код:
stock static GetVehicleMDCInfo(playeridvehicleid)
{
    new
        
mdcString2056 ],
        
tmpString32 ];
    
    
formatmdcStringsizeof(mdcString), 
        
"~y~OPCE INFORMACIJE~w~~n~~n~ Vlasnik: %s~n~ Registracija: %s~n~ Boje: %d %d~n~ Paintjob: %d~n~ Osiguranje: %d~n~ Puta unisten: %d~n~~n~~y~TEHNICKE INFORMACIJE~w~~n~~n~ Tip motora: %s~n~ Tip akumulatora: %s~n~ Stanje motora: %s~n~ Stanje akumulatora: %s~n~ Alarm: %d~n~ Immobilizator: %d~n~ Brava: %d~n~~n~~y~TUNING~w~~n~~n~ Stereo: %d~n~ Hidraulika: %d~n~ Spoiler: %d~n~ Nitro: %d~n~ Felge: %d~n~~n~~y~OPCE INFORMACIJE~w~~n~~n~ Kazna #1: %s - %d$~n~ Kazna #2: %s - %d$~n~ Kazna #3: %s - %d$~n~ Kazna #4: %s - %d$~n~ Kazna #5: %s - %d$",
        
VehicleInfovehicleid ][ vOwner ],
        
VehicleInfovehicleid ][ vNumberPlate ],
        
VehicleInfovehicleid ][ vColor1 ],
        
VehicleInfovehicleid ][ vColor2 ],
        
VehicleInfovehicleid ][ vPaintJob ],
        
VehicleInfovehicleid ][ vInsurance ],
        
VehicleInfovehicleid ][ vDestroys ],
        
GetEngineTypeString(VehicleInfo[vehicleid][vEngineType]),
        
GetBatteryTypeString(VehicleInfo[vehicleid][vBatteryType]),
        
GetBatteryLifeStringTD(vehicleid),
        
GetEngineLifeStringTD(vehicleid),
        
VehicleInfovehicleid ][ vAlarm ],
        
VehicleInfovehicleid ][ vImmob ],
        
VehicleInfovehicleid ][ vLock ],
        
VehicleInfovehicleid ][ vAudio ],
        
VehicleInfovehicleid ][ vHydraulics ],
        
VehicleInfovehicleid ][ vSpoiler ],
        
VehicleInfovehicleid ][ vNitro ],
        
VehicleInfovehicleid ][ vWheels ],
        
VehicleInfovehicleid ][ vTicketsR1 ],
        
VehicleInfovehicleid ][ vTickets ][ ],
        
VehicleInfovehicleid ][ vTicketsR2 ],
        
VehicleInfovehicleid ][ vTickets ][ ],
        
VehicleInfovehicleid ][ vTicketsR3 ],
        
VehicleInfovehicleid ][ vTickets ][ ],
        
VehicleInfovehicleid ][ vTicketsR4 ],
        
VehicleInfovehicleid ][ vTickets ][ ],
        
VehicleInfovehicleid ][ vTicketsR5 ],
        
VehicleInfovehicleid ][ vTickets ][ ]
    );
    
SelectTextDraw(playerid0xFFFFFFFFF);
    
CreateMDCTextDraws(playeridGetVehicleModel(vehicleid));
    
    
PlayerTextDrawSetPreviewRot(playeridMDCSkin[playerid], -15.00.00.0);
    
PlayerTextDrawSetPreviewVehCol(playeridMDCSkin[playerid], VehicleInfovehicleid ][ vColor1 ], VehicleInfovehicleid ][ vColor2 ]);
    
    
PlayerTextDrawSetString(playeridMDCText[playerid], mdcString);
    
    
strunpack(tmpStringModel_Name(GetVehicleModel(vehicleid)) );
    
format(tmpString32"%s-MDC"
        
tmpString
    
);
    
PlayerTextDrawSetString(playeridMDCTitle[playerid], tmpString);
    
    
format(tmpString32VehicleInfovehicleid ][ vImpounded ] ? "~r~Impounded" " ");
    
PlayerTextDrawSetString(playeridMDCSkinid[playerid], tmpString);
    return 
1;

line 318

PHP код:
format(tmpString32VehicleInfovehicleid ][ vImpounded ] ? "~r~Impounded" " "); 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)