[MySQL] House creation problem
#5

pawn Код:
INSERT INTO houses(house_id,hname,howner,hpass,x,y,z,a,cpx,cpy,cpz,hint,hvalue) VALUES(0,'House For Sale!','INVALID_PLAYER_ID','INVALID_HOUSE_PASSWORD', %0.2f, %0.2f, %0.2f, %0.2f, %0.2f, %0.2f, %0.2f, %d, %d)", X, Y, Zp, (180.0 + Angle), Xp, Yp, Zp, interior, cost);
Why are you setting the house ID as 0, do you have AI enabled for house id on MySQL DB/PhpMyAdmin?
Reply


Messages In This Thread
[MySQL] House creation problem - by SsHady - 23.03.2016, 09:47
Re: [MySQL] House creation problem - by maddinat0r - 23.03.2016, 15:26
Re: [MySQL] House creation problem - by SsHady - 24.03.2016, 14:43
Re: [MySQL] House creation problem - by maddinat0r - 24.03.2016, 19:39
Re: [MySQL] House creation problem - by LBrasi - 24.03.2016, 22:44
Re: [MySQL] House creation problem - by SsHady - 27.03.2016, 15:29

Forum Jump:


Users browsing this thread: 1 Guest(s)