Zeig mal dein VERLUST.
Grüße,
TheBester
PHP
Function BenzinVerlust()
{
for(new i=0; i<MAX_VEHICLES; i++)
{
if (Motor[i] == true)
{
Tank[i] = Tank[i]-1;
if (Tank[i]<1)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
Tank[i] = 0;
GetVehicleParamsEx(i,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(i,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
Motor[i] = false;
}
}
}
return 1;
}
Alles anzeigen
benötige hilfe damit ich den warning gefixxt bekomme