[Ajuda] Ajuda com Erros
#1

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
Код:
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);
ao meu SetupSpeedCamera e ficou assim
Код:
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);
}
porйm deu esses erros :
Код:
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.
Alguem pode me ajudar ? Linha 266 :
Код:
	format(stringr, sizeof(stringr), "Vel. Maxima %i Km/h", MaxSpeed);
Reply


Messages In This Thread
Ajuda com Erros - by Performancetotal - 29.01.2014, 14:00
Re: Ajuda com Erros - by Dieguinho - 29.01.2014, 14:15
Re: Ajuda com Erros - by Performancetotal - 29.01.2014, 14:20
Re: Ajuda com Erros - by Dieguinho - 29.01.2014, 14:23
Re: Ajuda com Erros - by Performancetotal - 29.01.2014, 14:27
Re: Ajuda com Erros - by Dieguinho - 29.01.2014, 14:39
Re: Ajuda com Erros - by Performancetotal - 29.01.2014, 14:47
Re: Ajuda com Erros - by Locky_ - 29.01.2014, 14:51
Re: Ajuda com Erros - by Wellington1999 - 29.01.2014, 14:52
Re: Ajuda com Erros - by Performancetotal - 29.01.2014, 14:59

Forum Jump:


Users browsing this thread: 1 Guest(s)