Loop through 3DText lables and vehicles
#2

pawn Код:
new Vehicles[2],
    Text3D:VehiclesLabel[2];

public OnGameModeInit()
{
     for(new i = 0; i < 2; i++) // Also tried for(new i = 0; i < sizeof(Vehicles); i++)
     {
        VehiclesLabel[i] = CreateDynamic3DTextLabel("100%", -1, 0.0, 0.0, 0.0, 50.0, INVALID_PLAYER_ID, Vehicles[i], 0, -1, -1, -1, 50.0);
     }

     // All code that is above stops working
     return 1;
}
Like this if I see correctly.
Reply


Messages In This Thread
Loop through 3DText lables and vehicles - by Cypress - 01.03.2013, 15:48
Re: Loop through 3DText lables and vehicles - by [MG]Dimi - 01.03.2013, 16:08
Re: Loop through 3DText lables and vehicles - by AndreT - 01.03.2013, 16:13
Re: Loop through 3DText lables and vehicles - by Cypress - 01.03.2013, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)