Just 1 Error !
#1

C:\Documents and Settings\Kerim\Belgelerim\pawno\LSTDM 0.5\LSTDM2.pwn(65) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

http://pastebin.com/m6fdc89e2


Thanks for help

Ah and. I want add this objects to my server. Can you help me ?
Thanks


Код:
CreateObject(4004, 1993.248046875, -1829.3486328125, 24.608152389526, 0, 0, 179.28588867188);
CreateObject(4022, 1946.7327880859, -1808.4210205078, 15.631225585938, 0, 0, 89.889892578125);
CreateObject(2949, 1951.65234375, -1808.2808837891, 12.546875, 0, 0, 179.30554199219);
CreateObject(4176, 1932.9453125, -1785.5170898438, 17.962919235229, 0, 0, 181.52551269531);
CreateObject(4594, 1938.0590820313, -1765.5736083984, 12.432687759399, 0, 0, 0);
CreateObject(4018, 1897.75, -1765.3728027344, 12.51909828186, 0, 0, 180.54052734375);
CreateObject(979, 1880.2253417969, -1798.9233398438, 13.387095451355, 0, 0, 0);
CreateObject(979, 1838.2026367188, -1798.9658203125, 13.387095451355, 0, 0, 0);
CreateObject(979, 1860.224609375, -1798.9228515625, 13.387095451355, 0, 0, 0);
CreateObject(979, 1896.4069824219, -1798.3074951172, 13.387095451355, 0, 0, 9.9249267578125);
CreateObject(4007, 1933.1896972656, -1784.8076171875, 29.308692932129, 0, 0, 0);
CreateObject(4594, 2168.5249023438, -1731.5241699219, 12.426301956177, 0, 0, 270.27026367188);
CreateObject(5762, 2123.1076660156, -1732.8189697266, 15.669889450073, 0, 0, 0);
CreateObject(5768, 2135.7399902344, -1732.5236816406, 25.337978363037, 0, 0, 180.54052734375);
CreateObject(5768, 2147.9697265625, -1772.3315429688, 32.087978363037, 0, 0, 1.078369140625);
CreateObject(13562, 2175.0705566406, -1765.2818603516, 18.367008209229, 0, 0, 0);
CreateObject(16776, 1914.8414306641, -1766.9136962891, 28.10368347168, 0, 0, 180.54052734375);
CreateObject(4112, 1924.81640625, -1691.8142089844, 22.965927124023, 0, 0, 179.78833007813);
CreateObject(11469, 1928.412109375, -1631.9169921875, 12.546875, 0, 0, 0);
CreateObject(3109, 1932.5263671875, -1623.0068359375, 13.739557266235, 0, 0, 51.597290039063);
CreateObject(6257, 2062.974609375, -1878.6199951172, 19.821731567383, 0, 0, 359.75);
CreateObject(823, 2069.599609375, -1870.3985595703, 12.905923843384, 0, 0, 0);
CreateObject(823, 2069.5087890625, -1867.1987304688, 12.905923843384, 0, 0, 0);
CreateObject(823, 2069.3889160156, -1864.3508300781, 12.905923843384, 0, 0, 310.15014648438);
CreateObject(823, 2069.8869628906, -1868.4591064453, 12.905923843384, 0, 0, 310.14953613281);
CreateObject(1364, 2072.6633300781, -1884.5103759766, 13.308024406433, 0, 0, 91.760070800781);
CreateObject(2010, 2071.1145019531, -1863.51171875, 12.524673461914, 0, 0, 0);
CreateObject(2010, 2070.5305175781, -1863.4377441406, 12.524673461914, 0, 0, 0);
CreateObject(2010, 2070.0278320313, -1863.431640625, 12.524673461914, 0, 0, 0);
CreateObject(3109, 2071.9541015625, -1877.1279296875, 13.795907974243, 0, 0, 0);
CreateObject(967, 2222.1687011719, -1742.3286132813, 12.540305137634, 0, 0, 0.905029296875);
CreateObject(966, 2225.7556152344, -1735.6756591797, 12.386037826538, 0, 0, 270.27026367188);
CreateObject(968, 2225.7600097656, -1735.7081298828, 13.336038589478, 0, 306.40496826172, 270.27026367188);
CreateObject(966, 2226.0573730469, -1747.4117431641, 12.386037826538, 0, 0, 89.059265136719);
CreateObject(968, 2226.0556640625, -1747.3151855469, 13.261039733887, 0, 269.4384765625, 89.089294433594);
CreateObject(7979, 1925.7474365234, -1808.9354248047, 15.609485626221, 0, 0, 270.39501953125);
Reply
#2

the first line of you public OnGameModeInit(); is
pawn Код:
SetGameModeText("Los Santos TDM");
 UsePlayerPedAnims();
    ShowNameTags(1);
    ShowPlayerMarkers(1);
    SetTimer("BotMSGToAll",120000,true);

Change it to like this
pawn Код:
SetGameModeText("Los Santos TDM");
    UsePlayerPedAnims();
    ShowNameTags(1);
    ShowPlayerMarkers(1);
    SetTimer("BotMSGToAll",120000,true);
Those spaces cause that warning .. If this seems too difficult to you then just copy this to the top of your script
pawn Код:
#pragma tabsize 0
Reply
#3

Quote:
Originally Posted by |»Lynax«| Kerim™
C:\Documents and Settings\Kerim\Belgelerim\pawno\LSTDM 0.5\LSTDM2.pwn(65) : warning 217: loose indentation
It's warning, not error. Indent your code.

Quote:
Originally Posted by |»Lynax«| Kerim™
Ah and. I want add this objects to my server. Can you help me ?
Just paste them to the OnGameModeInit-callback.

Quote:
Originally Posted by ►Peter Corneile◄ [hugu-hosting.co.uk
]
Those spaces cause that warning .. If this seems too difficult to you then just copy this to the top of your script
pawn Код:
#pragma tabsize 0
A very bad way indeed.
Reply
#4

Nothing changes im noob scripter if some1 can fix it for me :S
Reply
#5

No-one cares if your a noob scripter. You've been told how to fix/do this so go do it
Reply
#6

Mod yapiyormus

warning 217: loose indentation

Add #pragma tabsize 0 at the top of your script.
Edit: Sory didn't see you guys posted it ..
Reply
#7

Quote:
Originally Posted by |»Lynax«| Kerim™
Nothing changes im noob scripter if some1 can fix it for me :S
Just do one thing go to the top of your script and paste this
pawn Код:
#pragma tabsize 0
after the
pawn Код:
#define Team_1 0
Reply
#8

k Fixed!
Reply
#9

Quote:
Originally Posted by |»Lynax«| Kerim™
k Fixed!
Lol finally :P
Reply
#10

Ye ye ... BUT CANT ADD OBJECTS
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)