23.07.2017, 19:50
(
Последний раз редактировалось Jumberi; 23.07.2017 в 20:44.
)
also i got one problem too and if u guys can help me, i'll be very thankful <3
line 318
PHP код:
modules/Systems/LSPD/MDC.pwn(318 ) : error 001: expected token: ";", but found "-identifier-"
PHP код:
stock static GetVehicleMDCInfo(playerid, vehicleid)
{
new
mdcString[ 2056 ],
tmpString[ 32 ];
format( mdcString, sizeof(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$",
VehicleInfo[ vehicleid ][ vOwner ],
VehicleInfo[ vehicleid ][ vNumberPlate ],
VehicleInfo[ vehicleid ][ vColor1 ],
VehicleInfo[ vehicleid ][ vColor2 ],
VehicleInfo[ vehicleid ][ vPaintJob ],
VehicleInfo[ vehicleid ][ vInsurance ],
VehicleInfo[ vehicleid ][ vDestroys ],
GetEngineTypeString(VehicleInfo[vehicleid][vEngineType]),
GetBatteryTypeString(VehicleInfo[vehicleid][vBatteryType]),
GetBatteryLifeStringTD(vehicleid),
GetEngineLifeStringTD(vehicleid),
VehicleInfo[ vehicleid ][ vAlarm ],
VehicleInfo[ vehicleid ][ vImmob ],
VehicleInfo[ vehicleid ][ vLock ],
VehicleInfo[ vehicleid ][ vAudio ],
VehicleInfo[ vehicleid ][ vHydraulics ],
VehicleInfo[ vehicleid ][ vSpoiler ],
VehicleInfo[ vehicleid ][ vNitro ],
VehicleInfo[ vehicleid ][ vWheels ],
VehicleInfo[ vehicleid ][ vTicketsR1 ],
VehicleInfo[ vehicleid ][ vTickets ][ 0 ],
VehicleInfo[ vehicleid ][ vTicketsR2 ],
VehicleInfo[ vehicleid ][ vTickets ][ 1 ],
VehicleInfo[ vehicleid ][ vTicketsR3 ],
VehicleInfo[ vehicleid ][ vTickets ][ 2 ],
VehicleInfo[ vehicleid ][ vTicketsR4 ],
VehicleInfo[ vehicleid ][ vTickets ][ 3 ],
VehicleInfo[ vehicleid ][ vTicketsR5 ],
VehicleInfo[ vehicleid ][ vTickets ][ 4 ]
);
SelectTextDraw(playerid, 0xFFFFFFFFF);
CreateMDCTextDraws(playerid, GetVehicleModel(vehicleid));
PlayerTextDrawSetPreviewRot(playerid, MDCSkin[playerid], -15.0, 0.0, 0.0);
PlayerTextDrawSetPreviewVehCol(playerid, MDCSkin[playerid], VehicleInfo[ vehicleid ][ vColor1 ], VehicleInfo[ vehicleid ][ vColor2 ]);
PlayerTextDrawSetString(playerid, MDCText[playerid], mdcString);
strunpack(tmpString, Model_Name(GetVehicleModel(vehicleid)) );
format(tmpString, 32, "%s-MDC",
tmpString
);
PlayerTextDrawSetString(playerid, MDCTitle[playerid], tmpString);
format(tmpString, 32, VehicleInfo[ vehicleid ][ vImpounded ] ? "~r~Impounded" : " ");
PlayerTextDrawSetString(playerid, MDCSkinid[playerid], tmpString);
return 1;
}
PHP код:
format(tmpString, 32, VehicleInfo[ vehicleid ][ vImpounded ] ? "~r~Impounded" : " ");