30.08.2013, 15:28
Quote:
i use this function and i add a new field to create in mysqldb.
mysql_function_query(g_Handle, "CREATE TABLE IF NOT EXISTS `users` ( \ `id` int(11) NOT NULL AUTO_INCREMENT, \ `name` varchar(24) NOT NULL, \ `pass` varchar(129) NOT NULL, \ `salt` varchar(30) NOT NULL, \ `health` float NOT NULL, \ `X` float NOT NULL, \ `Y` float NOT NULL, \ `Z` float NOT NULL, \ `A` float NOT NULL, \ `interior` int(2) NOT NULL, \ `vw` int(11) NOT NULL, \ `skin` int(3) NOT NULL, \ `Admin` int(6) NOT NULL, \ `Gm` int(6) NOT NULL, \ `Pamoney` int(30) NOT NULL, \ PRIMARY KEY (`id`) \ )", false, "SendQuery", ""); return 1; } but i get this two errors: C:\Users\rui\Documents\garage\gamemodes\tyhrefwdsq .pwn(143) : error 075: input line too long (after substitutions) C:\Users\rui\Documents\garage\gamemodes\tyhrefwdsq .pwn(144) : error 017: undefined symbol "mysql_function_query" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase what i can do about it? |