SA-MP Forums Archive
Mysql house problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mysql house problem (/showthread.php?tid=339230)



Mysql house problem - Lenshy - 02.05.2012

Hello guys, i have problem with my house system (work with mysql).

i want make a /maison acheter (/house buy), when the player do /house buy in front the house a dialog opens but the script count a 1 house id :

Quote:

for(new h = 0; h < totalhouses; h++)

Quote:

if(PlayerToPoint(2.0, playerid, hInfos[h][hEntZ], hInfos[h][hEntY], hInfos[h][hEntZ]) && hInfos[h][hStatus] == 0)

please help me, thank

(im french)