[Ajuda] Velocimetro
#6

PHP код:
if( IsTrailerAttachedToVehicleGetPlayerVehicleIDplayerid )) )
    {
        new 
tid GetVehicleTrailer(vehicleid);
        if(
GetVehicleModel(tid) > 0)
        {
            
format(TrailerNome50"~y~%s"VehicleName[GetVehicleModel(tid)-400]);
            
PlayerTextDrawSetString(playeridVelo[16], TrailerNome);
            
PlayerTextDrawShow(playeridVelo[16]);
            if(
GetPVarInt(playerid"mostrar_trailer") == 0)
            {
                
PlayerTextDrawSetPreviewModel(playeridVelo[11], GetVehicleModel(tid));
                
PlayerTextDrawSetPreviewVehCol(playeridVelo[11], AVehicleData[tid][Color1], AVehicleData[tid][Color2]);
                
PlayerTextDrawShow(playeridVelo[11]);
                
SetPVarInt(playerid"mostrar_trailer"1);
            }
        }
    } 
Reply


Messages In This Thread
Velocimetro - by LuisFerreira - 15.07.2015, 00:12
Re: Velocimetro - by MtC - 15.07.2015, 00:27
Re: Velocimetro - by LuisFerreira - 15.07.2015, 00:29
Re: Velocimetro - by MtC - 15.07.2015, 00:44
Re: Velocimetro - by LuisFerreira - 15.07.2015, 01:28
Re: Velocimetro - by Welconha - 15.07.2015, 01:40
Re: Velocimetro - by LuisFerreira - 15.07.2015, 01:45
Re: Velocimetro - by Welconha - 15.07.2015, 01:50
Re: Velocimetro - by LuisFerreira - 15.07.2015, 01:58
Re: Velocimetro - by Welconha - 15.07.2015, 02:02

Forum Jump:


Users browsing this thread: 1 Guest(s)