[Ajuda] Erro Variavel
#1

Ta dando um erro que eu nao to conseguindo resolver aqui.
PHP код:
C:\Users\HOT WHEELS\Music\Desktop\coisas para sa-mp\BCF\BrasilCity Net do Luiz Duarte\GM Brasil City Net\Brasil City net\gamemodes\akinao.pwn(92) : error 052multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Error

Linha 92
pawn Код:
new Float:cameralogin[30][11] =
{
{1432.6455,-1484.2672,115.2982},
{1359.1316,-1479.9628,38.3516},
{1318.4176,-1183.0083,65.3984},
{1209.0385,-1283.1278,63.5066},
{1098.2290,-1419.8468,55.1848},
{849.2156,-1815.2200,31.7969},
{560.5928,-1646.5659,38.5547},
{270.8804,-1604.9678,114.4163},
{306.4205,-1599.3750,114.4219},
{303.5698,-1624.5554,114.4219}
};// linha 92
Reply
#2

new Float:cameralogin[30][10]
Reply
#3

pawn Код:
new Float:cameralogin[][] =
{
{1432.6455,-1484.2672,115.2982},
{1359.1316,-1479.9628,38.3516},
{1318.4176,-1183.0083,65.3984},
{1209.0385,-1283.1278,63.5066},
{1098.2290,-1419.8468,55.1848},
{849.2156,-1815.2200,31.7969},
{560.5928,-1646.5659,38.5547},
{270.8804,-1604.9678,114.4163},
{306.4205,-1599.3750,114.4219},
{303.5698,-1624.5554,114.4219}
};
Reply
#4

pawn Код:
new Float:cameralogin[10][3] =
{
{1432.6455,-1484.2672,115.2982},
{1359.1316,-1479.9628,38.3516},
{1318.4176,-1183.0083,65.3984},
{1209.0385,-1283.1278,63.5066},
{1098.2290,-1419.8468,55.1848},
{849.2156,-1815.2200,31.7969},
{560.5928,-1646.5659,38.5547},
{270.8804,-1604.9678,114.4163},
{306.4205,-1599.3750,114.4219},
{303.5698,-1624.5554,114.4219}
};
Reply
#5

Caso o nъmero de linhas com { } abaixo seja alterado, o nъmero 10 dentro dos primeiros colchetes deve ser substituido pela nova quantidade dessas linhas.

pawn Код:
new Float:cameralogin[10][3] =
{
{1432.6455,-1484.2672,115.2982},
{1359.1316,-1479.9628,38.3516},
{1318.4176,-1183.0083,65.3984},
{1209.0385,-1283.1278,63.5066},
{1098.2290,-1419.8468,55.1848},
{849.2156,-1815.2200,31.7969},
{560.5928,-1646.5659,38.5547},
{270.8804,-1604.9678,114.4163},
{306.4205,-1599.3750,114.4219},
{303.5698,-1624.5554,114.4219}
};
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)