Houses
#1

Boys, when we have 100 houses how to write in the line

new HouseInfo[100][hInfo];
Reply
#2

pawn Код:
new HouseInfo[100][hInfo];
// house info count
// HouseInfo[0][hInfo],HouseInfo[1][hInfo],HouseInfo[2][hInfo],HouseInfo[3][hInfo],HouseInfo[4][hInfo]...

House # 1 == HouseInfo[0][hInfo]
House # 2 == HouseInfo[1][hInfo]
House # 100 == HouseInfo[99][hInfo];
Reply
#3

C:\Users\StR\Desktop\Server-In-Lucru\gamemodes\server.pwn(1310) : error 010: invalid function or declaration
HouseInfo[0][hInfo],HouseInfo[1][hInfo],HouseInfo[2][hInfo];

when i use // houseinfo[0]

when i use without //houseinfo[0]

C:\Users\StR\Desktop\Server-In-Lucru\gamemodes\server.pwn(1311) : error 010: invalid function or declaration
House # 1 == HouseInfo[0][hInfo]

I have an old house system with property.cfg
-2639.734375,168.677398,7.195300,1.200000,-3.400000,999.400024,0,0,0,0,0,0,The State,Trailer,1000000,0,0,2,1,0,0,1000,1,2045,418,-1,-1,55,3

I create another line, changing -2639.734375,168.677398,7.195300 with my coordinates, but I destroy other houses
and i change houseinfo to 101 same thing...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)