[Ajuda] Radar PPC_Trucking
#2

se precisa de mais ajuda no PPC_Trucking add skype: biel.thift ja usei muinto esse GM
pawn Код:
SetupSpeedCamera(CamID, Float:x, Float:y, Float:z, Float:rot, MaxSpeed)
{
    new MsgRadar[128];
    // Store all the given values
    ACameras[CamID][CamX] = x;
    ACameras[CamID][CamY] = y;
    ACameras[CamID][CamZ] = z;
    ACameras[CamID][CamAngle] = rot;
    ACameras[CamID][CamSpeed] = MaxSpeed;
    // Create both camera objects and store their reference
    ACameras[CamID][CamObj1] = CreateObject(18880, x, y, z, 0.0, 0.0, rot);
    ACameras[CamID][CamObj2] = CreateObject(18880, x, y, z, 0.0, 0.0, rot + 180.0);
    format(MsgRadar, sizeof(MsgRadar), "{FF0000}Vel. Max\n{FFFFFF}%i {FF0000}Km/h.", MaxSpeed);
    ACameras[CamID][CamObj4] = Create3DTextLabel(MsgRadar, -1, x, y, z + 4.2, 150.0, 0, 0);
}
Reply


Messages In This Thread
Radar PPC_Trucking - by CesarLuisCM - 30.01.2015, 18:14
Re: Radar PPC_Trucking - by ExPLORE - 30.01.2015, 18:16
Re: Radar PPC_Trucking - by CesarLuisCM - 30.01.2015, 18:19

Forum Jump:


Users browsing this thread: 1 Guest(s)