Check my code Please!
#6

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!
Reply


Messages In This Thread
Check my code Please! - by Cold Assassin - 01.02.2009, 16:43
Re: Check my code Please! - by yom - 01.02.2009, 17:06
Re: Check my code Please! - by Cold Assassin - 01.02.2009, 17:26
Re: Check my code Please! - by Cold Assassin - 01.02.2009, 17:32
Re: Check my code Please! - by yom - 01.02.2009, 17:39
Re: Check my code Please! - by Cold Assassin - 01.02.2009, 19:19
Re: Check my code Please! - by NinjaChicken - 10.08.2012, 01:25
Re: Check my code Please! - by [MM]RoXoR[FS] - 10.08.2012, 02:35

Forum Jump:


Users browsing this thread: 1 Guest(s)