29.01.2014, 14:51
Quote:
Agora deu apenas 1
Код:
C:\Users\Julio\Desktop\PPC_Trucking\pawno\include\PPC_Common.inc(269) : error 033: array must be indexed (variable "ACameras") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. Код:
ACameras[CamID] = Create3DTextLabel(stringr, 0xFF0000FF, x, y, z+6.0, 100.0, 0, 0); |
pawn Код:
enum TSpeedCamera
{
Float:CamX,
Float:CamY,
Float:CamZ,
Float:CamAngle,
CamSpeed,
CamObj1,
CamObj2,
Text3D:CamText // Adicione
}
new ACameras[MAX_CAMERAS][TSpeedCamera];
pawn Код:
ACameras[CamID][CamText] = Create3DTextLabel(stringr, 0xFF0000FF, x, y, z+6.0, 100.0, 0, 0);