Problem oko ubacivanja objekata

Započeo roske, Jun 16, 2010, 20:40:11 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Evo zanima me sta da uradim kako mi nebi izlazio error.

public OnGameModeInit()
{
CreateObject(3851, 821.810303, -1337.354980, 14.546875, 0.0000, 0.0000, 270.0000);
CreateObject(3851, 813.142395, -1337.359253, 14.546875, 0.0000, 0.0000, 270.0000);
CreateObject(3851, 807.418701, -1351.308716, 14.546875, 0.0000, 0.0000, 1.1003);
CreateObject(3851, 810.576172, -1361.665405, 14.546124, 0.0000, 0.0000, 33.7500);
CreateObject(3851, 807.455994, -1346.057129, 14.546875, 0.0000, 0.0000, 0.2408);
CreateObject(1491, 807.546692, -1340.421753, 12.531912, 0.0000, 0.0000, 90.0000);
CreateObject(1491, 807.508484, -1337.378906, 12.559984, 0.0000, 0.0000, 269.5183);
CreateObject(3851, 809.380554, -1351.362061, 16.532780, 0.0000, 89.3814, 0.0000);
CreateObject(3851, 809.417969, -1343.016724, 16.521845, 0.0000, 89.3814, 0.0000);
CreateObject(3851, 816.871765, -1339.343628, 16.521845, 0.0000, 89.3814, 269.7592);
CreateObject(3851, 822.300598, -1339.312988, 16.571844, 0.0000, 89.3814, 269.7592);
CreateObject(2718, 807.591492, -1337.865845, 15.464497, 0.0000, 0.0000, 91.2374);
CreateObject(2718, 807.612610, -1337.866699, 16.060459, 0.0000, 0.0000, 90.3779);
CreateObject(2718, 807.572998, -1339.880981, 16.042200, 0.0000, 0.0000, 89.5179);
CreateObject(2718, 807.614929, -1338.880981, 16.049988, 0.0000, 0.0000, 88.6590);
CreateObject(2718, 807.551208, -1339.873535, 15.456436, 0.0000, 0.0000, 88.6590);
CreateObject(2718, 807.568481, -1338.874023, 15.459509, 0.0000, 0.0000, 88.6590);
CreateObject(14604, 808.695496, -1356.019653, 13.522525, 0.0000, 0.0000, 303.7500);
CreateObject(16152, 816.597534, -1356.089233, 12.463778, 0.0000, 0.0000, 90.0000);
CreateObject(16151, 826.634888, -1352.374512, 12.929841, 0.0000, 0.0000, 359.1406);
CreateObject(1594, 821.968506, -1354.711304, 13.016404, 0.0000, 0.0000, 0.0000);
CreateObject(1594, 821.097473, -1351.375732, 13.008259, 0.0000, 0.0000, 0.0000);
CreateObject(1594, 817.776367, -1352.708496, 13.011513, 0.0000, 0.0000, 0.0000);
CreateObject(1594, 822.640808, -1348.942261, 13.002316, 0.0000, 0.0000, 0.0000);
CreateObject(1721, 821.214294, -1337.426270, 12.547781, 0.0000, 0.0000, 180.0000);
CreateObject(1721, 820.495300, -1337.441040, 12.550720, 0.0000, 0.0000, 180.0000);
CreateObject(1721, 819.757202, -1337.423706, 12.553178, 0.0000, 0.0000, 180.0000);
CreateObject(1721, 818.296387, -1337.433350, 12.553589, 0.0000, 0.0000, 180.0000);
CreateObject(1721, 819.038940, -1337.429321, 12.550362, 0.0000, 0.0000, 180.0000);
CreateObject(1721, 817.538208, -1337.445557, 12.553264, 0.0000, 0.0000, 180.0000);
CreateObject(1231, 803.661926, -1335.619019, 15.202269, 0.0000, 0.0000, 0.0000);
CreateObject(1231, 802.998901, -1358.347534, 15.227268, 0.0000, 0.0000, 0.0000);
CreateObject(1231, 802.807617, -1346.959961, 15.152269, 0.0000, 0.0000, 0.0000);
CreateObject(1231, 817.845947, -1332.782959, 15.202269, 0.0000, 0.0000, 0.0000);
CreateObject(1231, 837.920288, -1332.730103, 15.187103, 0.0000, 0.0000, 0.0000);
[/color][/b]

error
C:\Documents and Settings\roske\Desktop\SA-MP Server\SA-MP Server\gamemodes\crp.pwn(1250) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.

Stavi razmak od 4 mjesta prije svakog "CreateObject(..."
Poslednja Izmena: Jun 16, 2010, 20:42:59 POSLE PODNE od Carlsson


Hvala vam na pomoci uspelo je sve,zanima me jos jednom kad sam stavio ovaj objekat kako sada da stavim jos neki dal da to bude sve spojeno sa ovim prvim ili razmak ?

Napravis //NEKO IME i onda ispod
    CreateObject...

Hvala svima na pomoci :D
Mozete lock temu....  8)

Eto da samo nadopunim, ako nece ubuduce errore takve, stavi na pocetak moda #pragma tabsize 0
Aequam memento rebus in arduis servare mentem.