29.01.2014, 14:00
Galera eu uso a ppc_trucking e estou tentando por o texto vel.maximo "tanto" no radar porйm nгo estava conseguindo, pedi ajuda ao Don_Speed e ele disse para eu adicionar isso
ao meu SetupSpeedCamera e ficou assim
porйm deu esses erros :
Alguem pode me ajudar ? Linha 266 :
Код:
format(stringr, sizeof(stringr), "Vel. Maxima %i Km/h", MaxSpeed); ACameras[CamID][CamText] = Create3DTextLabel(stringr, 0xFF0000FF, x, y, z+6.0, 100.0, 0, 0);
Код:
SetupSpeedCamera(CamID, Float:x, Float:y, Float:z, Float:rot, MaxSpeed) { // 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(stringr, sizeof(stringr), "Vel. Maxima %i Km/h", MaxSpeed); ACameras[CamID][CamText] = Create3DTextLabel(stringr, 0xFF0000FF, x, y, z+6.0, 100.0, 0, 0); }
Код:
C:\Users\Julio\Desktop\PPC_Trucking\pawno\include\PPC_Common.inc(266) : error 017: undefined symbol "stringr" C:\Users\Julio\Desktop\PPC_Trucking\pawno\include\PPC_Common.inc(266) : error 017: undefined symbol "stringr" C:\Users\Julio\Desktop\PPC_Trucking\pawno\include\PPC_Common.inc(266) : error 029: invalid expression, assumed zero C:\Users\Julio\Desktop\PPC_Trucking\pawno\include\PPC_Common.inc(266) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
format(stringr, sizeof(stringr), "Vel. Maxima %i Km/h", MaxSpeed);