[Ajuda] error 032: array index out of bounds
#1

Boas, tenho o seguinte cуdigo:

pawn Код:
enum SDVarsE
{
    TTimeBomb,
    ATimeBomb = 30,
    ObjectBomb,
    PickupBomb,
    Float:CordBomb[3],
    bool:BombDefusing = false,
    bool:BombPlanted = false,
    ATTeam,
    DFTeam,
    TWMenu,
    TMWMenu
}
new SDVars[SDVarsE];
Mas quando tempo usar isto:
pawn Код:
SDVars[PickupBomb] = CreatePickup(1252, 3, -1816.3069, -151.4402, 9.3984, 10);
Dб-e este erro:
Код:
error 032: array index out of bounds (variable "SDVars")
Reply
#2

Resolvido.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)