01.02.2009, 19:19
format(sql, sizeof(sql), "SELECT * FROM prandomspawn WHERE id=%d"); <------
Should have been
format(sql, sizeof(sql), "SELECT * FROM prandomspawn");
the only thing is the z variable is coming back as "1.00" not whats in table!
Any Idea?
The default for the table if no variable is 0.000000 so I have no idea where this 1.00 is coming from!
Should have been
format(sql, sizeof(sql), "SELECT * FROM prandomspawn");
the only thing is the z variable is coming back as "1.00" not whats in table!
Any Idea?
The default for the table if no variable is 0.000000 so I have no idea where this 1.00 is coming from!