SA-MP Forums Archive
Can someone help me please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can someone help me please (/showthread.php?tid=297210)



Can someone help me please - aaron_lol - 14.11.2011

Ok so i get the errors "warning 217: loose indentation" 4 times
" warning 219: local variable "idcar" shadows a variable at a preceding level" 1 time
"error 001: expected token: ")", but found "{"" 1 time

If you guys can help me fix this i would be really thankful.

Thanks.


Re: Can someone help me please - Mauzen - 14.11.2011

1. You got wrongly indented code at that position. Check if you tabbed in every new paragraph.

2. You are using a variable named idcar two times at the same time, probably one time global and one time in some function. Rename one of them.

3. You forgot to cloase a bracket somewhere, maybe in a function header.


Re : Can someone help me please - Dark734 - 14.11.2011

No but seriously.

Y U NO INDENT YOUR SCRIPT AND Y U NO CLOSE UR BRACKETS


(Sorry, I wanted to do this so much one day )


Re: Can someone help me please - aaron_lol - 14.11.2011

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
1. You got wrongly indented code at that position. Check if you tabbed in every new paragraph.

2. You are using a variable named idcar two times at the same time, probably one time global and one time in some function. Rename one of them.

3. You forgot to cloase a bracket somewhere, maybe in a function header.
Ok cnt find anything wrong fix it and ile give ya $10 over paypal. Ile give the link in a pm if you say yes.


Re: Can someone help me please - Alberto_DR - 14.11.2011

I'll fix it
its easy


Re: Can someone help me please - Mauzen - 15.11.2011

Hm if you want to send me a link and ill give it a look.
We can still see if you want to pay me something then, but ill probably make it for free if it isnt something big.


Re: Can someone help me please - aaron_lol - 16.11.2011

ok another problem now "fatal error 100: cannot read from file: "utils"" rest of warnings away


Re: Re : Can someone help me please - KingHual - 16.11.2011

Quote:
Originally Posted by Dark734
Посмотреть сообщение
No but seriously.

Y U NO INDENT YOUR SCRIPT AND Y U NO CLOSE UR BRACKETS


(Sorry, I wanted to do this so much one day )
Shit I wanted to do that :<


Re: Can someone help me please - Kostas' - 16.11.2011

Quote:
Originally Posted by aaron_lol
Посмотреть сообщение
ok another problem now "fatal error 100: cannot read from file: "utils"" rest of warnings away
Do you mean dutils?


Re: Can someone help me please - aaron_lol - 16.11.2011

Quote:
Originally Posted by Kostas'
Посмотреть сообщение
Do you mean dutils?
thats it now i got 26 errors lol