Scripting Help. 6 Errors - 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: Scripting Help. 6 Errors (
/showthread.php?tid=441671)
Scripting Help. 6 Errors -
Mappers4Life - 03.06.2013
I tryed to create a login system from a tutorial, i did everything but i get 16 errors, there was 16 but i got rid of 10 and i have looked at them.
Line 55 and 56 (First 2 errors)
This is line 238 but i thought the other lines had something to do with it
If you could help i would thank you sooo much
Re: Scripting Help. 6 Errors -
[WSF]ThA_Devil - 03.06.2013
use } brackets to close
like
case 1:
{
// do something here
}
case 2:
{
}
Re: Scripting Help. 6 Errors -
Mappers4Life - 03.06.2013
Didnt work
Re: Scripting Help. 6 Errors -
[WSF]ThA_Devil - 03.06.2013
show me what errors do you get
Re: Scripting Help. 6 Errors -
[WSF]ThA_Devil - 03.06.2013
oh yea, on top of OnPlayerConnect add line: new string[512];
Re: Scripting Help. 6 Errors -
Mappers4Life - 03.06.2013
The same ones plus i have nothing to put in between them
Re: Scripting Help. 6 Errors -
Mappers4Life - 03.06.2013
Now i get a error on "case 1:"