Detaljan opis problema: Pa usao sam u salon i hocu da uzmem auto da testam dal sve radi kad mi izbaci dole eror sa slike.
Dio skripte:
CMD:kupivozilo( playerid, params[] ) {
if( ServerInfo[ KupovinaVozila ] == false ) return SendErrorMessage( playerid, "Trenutno nije moguce kupovanje auta po salonima." );
if( PlayerInfo[ playerid ][ xVoziloID ][ 0 ] == -1 ) { }
else if( PlayerInfo[ playerid ][ xVoziloID ][ 1 ] == -1 ) { }
else if( PlayerInfo[ playerid ][ xVoziloID ][ 2 ] == -1 ) { }
else if( PlayerInfo[ playerid ][ xVoziloID ][ 3 ] == -1 ) {
if( PlayerInfo[ playerid ][ xDonatorSlot ] == true ) { }
else return SendErrorMessage( playerid, "Svi slotovi vozila su vam zauzeti." );
}
else return SendErrorMessage( playerid, "Svi slotovi vozila su vam zauzeti." );
new as = GetNearestSalon( playerid );
if( GetNearestSalon( playerid ) == -1 ) return SendErrorMessage( playerid, "Nisi na pickupu auto salona." );
if( AutoSalon[ as ][ AlreadyBuying ] == true ) return SendErrorMessage( playerid, "Neko vec kupuje vozilo!" );
new slotid = AutoSalon[ as ][ aIzlogVeh ];
AutoSalon[ as ][ AlreadyBuying ] = true;
PlayerBuyingAS[ playerid ] = as;
ModelCar[ playerid ] = 0;
ClearChat( playerid, 25 );
BuyCarTDControl( playerid, true );
new string[ 128 ];
format( string, sizeof( string ), "%s", ImeVozila[ AutoSalon[ as ][ aVehModel ][ 0 ]-400 ] );
PlayerTextDrawSetString( playerid, BuyCar[ playerid ][ 2 ], string );
format( string, sizeof( string ), "Cena: ~w~%d$", VehPrice[ AutoSalon[ as ][ aVehModel ][ 0 ]-400 ][ 1 ] );
PlayerTextDrawSetString( playerid, BuyCar[ playerid ][ 3 ], string );
SetPlayerCameraPos( playerid, AutoSalon[ as ][ aCameraPos ][ 0 ], AutoSalon[ as ][ aCameraPos ][ 1 ], AutoSalon[ as ][ aCameraPos ][ 2 ] );
SetPlayerCameraLookAt( playerid, AutoSalon[ as ][ aCameraLookAt ][ 0 ], AutoSalon[ as ][ aCameraLookAt ][ 1 ], AutoSalon[ as ][ aCameraLookAt ][ 2 ] );
TogglePlayerControllable( playerid, false);
Dimi_DestroyVehicle( VehicleInfo[ slotid ][ vID ] );
VehicleInfo[ slotid ][ vID ] = Dimi_CreateVehicle( slotid, VehicleInfo[ slotid ][ vUsage ], VehicleInfo[ slotid ][ vOrganization ], VehicleInfo[ slotid ][ vJob ], AutoSalon[ as ][ aVehModel ][ 0 ], VehicleInfo[ slotid ][ vLokacijaX ], VehicleInfo[ slotid ][ vLokacijaY ], VehicleInfo[ slotid ][ vLokacijaZ ]+1.0, VehicleInfo[ slotid ][ vLokacijaA ], -1, -1, -1 );
SetVehicleVirtualWorld( VehicleInfo[ slotid ][ vID ], AutoSalon[ as ][ aVW ] );
LinkVehicleToInterior( VehicleInfo[ slotid ][ vID ], AutoSalon[ as ][ aInt ] );
SelectTextDraw( playerid, SANMARINO );
return 1;
}Neke slike/video za lakse dobivanje pomoci(neobavezno): Error

