Quote:
Originally Posted by TonyII
Thanks, that removed the error, but left me off with 2 warnings.
pawn Code:
strcat(qry1,"CREATE TABLE IF NOT EXISTS `users` ( \ `id` int(11) NOT NULL AUTO_INCREMENT, \ `name` varchar(24) NOT NULL, \ `pass` varchar(129) NOT NULL, \ `health` float NOT NULL, \ `X` float NOT NULL, \ `Y` float NOT NULL, \ `Z` float NOT NULL, \ `A` float NOT NULL, "); // warning 217: loose indentation strcat(qry1,"`interior` int(2) NOT NULL, \ `vw` int(11) NOT NULL, \ `skin` int(3) NOT NULL, \ `banned` int(3) NOT NULL, \ `primary` int(3) NOT NULL, \ `primaryammo` int(5) NOT NULL, \ `secondary` int(3) NOT NULL, \ `secondaryammo` int(5) NOT NULL, PRIMARY KEY (`id`))"); mysql_function_query(g_Handle, qry1, false, "SendQuery", ""); // warning 217: loose indentation
EDIT: After compiling it the second time the warnings dissapeard, thanks again.
|
naturaly,
code indentation only causes warnings (ppls tend to ignore them)
but it's important for you too that the code looks... proper..
i mean you spot mistakes faster cuz the code looks clear

Allman style is good for a clear view of your code (i use it myself)