1 error - 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: 1 error (
/showthread.php?tid=443847)
1 error -
Tuntun - 14.06.2013
Код:
D:\WORLD ATTACK\gamemodes\Test.pwn(736) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Код:
Its on dialog response.
if(listitem == 4)
SetPlayerSkin(playerid,4);
GivePlayerMoney(playerid,-100);
}
else
{
SendClientMessage(playerid,COLOR_RED, "You didn't chosse any skin");
}
return 1;
}
Re: 1 error -
DobbysGamertag - 14.06.2013
Not an error, more of a warning, It means your code is messy. ALWAYS indent, that way you can find errors more easy:
http://codegenerators.pl/indent