3DTextLabel


Započeo Dils, Novembar 28, 2017, 15:33:05 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: San Marino Gamemode
Detaljan opis problema: Neće ocitati 3DTextLabele + Errori
Dio skripte: 3DTextLabel for Private Vehicle
Neke slike/video za lakse dobivanje pomoci(neobavezno): https://i.imgur.com/G4hGr72.png
           if( VehicleInfo[ i ][ vUsage ] == PRIVATNO_VOZILO ) {
	        if( VehicleInfo[ i ][ vOwned ] == 1 ) {
	            VehicleInfo[ i ][ Validv3DText ] = true;
	            new stringg[ 128 ];
	            new VoziloOwner = VehicleInfo [ ScriptIDVozila[ GetPlayerVehicleID( i ) ][ vOwner ];
	            format( stringg, sizeof( stringg ), "[ PRIVATNO VOZILO: %s  ]", VoziloOwner  );
				VehicleInfo[ i ][ v3DText ] = Create3DTextLabel( stringg, BELA, 0.0, 0.0, 0.0, 10.0, 0, 1 );
			  } Attach3DTextLabelToVehicle( VehicleInfo[ i ][ v3DText ], VehicleInfo[ i ][ vID ], 0.0, 0.0, 0.0);
	       }
	    }

Logicno, nisi definisao "i", to definises pomocu for loopa, primer jednog for loopa,
for(new i; i < MAX_VOZILA; i++)
{
         //kod
}

Facebook - Klik