SA-MP Forums Archive
[Ajuda] Radar PPC_Trucking - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Radar PPC_Trucking (/showthread.php?tid=560815)



Radar PPC_Trucking - CesarLuisCM - 30.01.2015

Eu ja pesquisei na net,achei algum e deu erro,mais n consigo colocar a mensagem de qual a velocidade dakele radar


Quote:

SetupSpeedCamera(CamID, Float, Float:y, Float:z, Float:rot, MaxSpeed)
{
ACameras[CamID][CamX] = x;
ACameras[CamID][CamY] = y;
ACameras[CamID][CamZ] = z;
ACameras[CamID][CamAngle] = rot;
ACameras[CamID][CamSpeed] = MaxSpeed;
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);
}




Re: Radar PPC_Trucking - ExPLORE - 30.01.2015

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);
}



Re: Radar PPC_Trucking - CesarLuisCM - 30.01.2015

add la