PDA

View Full Version : Mysql house problem


Lenshy
02/05/2012, 07:29 PM
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 :

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

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

please help me, thank

(im french)