Warning 271 Pawno - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Warning 271 Pawno (
/showthread.php?tid=236943)
Warning 271 Pawno -
bennojulian - 08.03.2011
I want a pwn. a amx. file that works but then gives pawno 2 Warnings
This pawno says: "C: \ Users \ (my name) \ Documents \ samp Servers \ Test Server \ filter scripts \ Nummerborden.pwn (6): warning 217: loose indentation
C: \ Users \ (my name \ Documents \ samp Servers \ Test Server \ filter scripts \ Nummerborden.pwn (37): warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase '
Warnings 2.
Can anyone help me?
Re: Warning 271 Pawno -
Stigg - 08.03.2011
Loose indentation is nothing serious, just tidy up your code abit.
Re: Warning 271 Pawno -
Gotti_ - 08.03.2011
so what?
u will get .amx if u have warning (no errors)
Re: Warning 271 Pawno -
mprofitt - 08.03.2011
it is warning that your indent isn't proper. Look at lines 6 and 37 in your script.
Re: Warning 271 Pawno -
Stigg - 08.03.2011
Good indentation.
Код:
if(condition)
{
action();
result();
}
Bad indentation.
Код:
if(condition)
{
action();
result();
}
Taken from wiki.
Re: Warning 271 Pawno -
bennojulian - 08.03.2011
Yeah I got it but I get an error message me my server
see picture below
Unable to load filter script '(script name)'.amx
Re: Warning 271 Pawno -
Stigg - 08.03.2011
Quote:
Originally Posted by bennojulian
Yeah I got it but I get an error message me my server
see picture below
Unable to load filter script '(script name)'.amx
|
Have you added the script to your server cfg ?
Put it in the correct folder ?
Re: Warning 271 Pawno -
bennojulian - 08.03.2011
Yeah i have added
Re: Warning 271 Pawno -
alpha500delta - 08.03.2011
The "Gamemode" line in the server.cfg is capital-sensitive I believe, check if you're gamemode is with or without a capslock and if it's the same in the server.cfg
Re: Warning 271 Pawno -
Mean - 08.03.2011
If it's a gamemode you can't load, you must add
in your code, if it's a filterscript, meaning you have error in it.