Nitro system ( not made by me, just downloaded)
#1

So guys, its me Ryox175, now in samp as : N]i[S.Ghost.eP.PD

I got this warning : Server\filterscripts\nitro.pwn(75) : warning 217: loose indentation


Line (75) >
pawn Код:
for(new f = 0; f < sizeof(NoNitro); f++) if(GetVehicleModel(vid) == NoNitro[f]) return false;
help me...
Reply
#2

Add this line on Top :
pawn Код:
#pragma tabsize 0
Reply
#3

#pragma tabsize 0 isn't good when you script, you will loose fast the overview in the script. Just script allways this way:

pawn Код:
for loop
{
    if(
    {
       
    }
}
and you will be happy when anything went wrong, because with tabsize 0 and a hugh code will it be hard to find errors/typos etc
Reply
#4

Thanks Avi Raj, want rep?, dont ask it, you just get it now.

Ulbi, i wanted do get rid of the warning, i got just help.

lock teh topic
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)