09.02.2016, 15:20
You want address to be numeric or just location(zone) where its located?
On my server, I used that address is 3001+Houseid
example format(string,sizeof(string),"Address: %d",3001+s);
which would output "Address: 3001" for house id 0 and "Address: 3002" for house id 1 and so on, it looks nice and player can use GPS by an address, not entering house id or something, like /gps [address] >> /gps 3001 , then in the cmd gpsid = [user input - 3001] and it will enable GPS to house id 0.
I hope it made a sense.
On my server, I used that address is 3001+Houseid
example format(string,sizeof(string),"Address: %d",3001+s);
which would output "Address: 3001" for house id 0 and "Address: 3002" for house id 1 and so on, it looks nice and player can use GPS by an address, not entering house id or something, like /gps [address] >> /gps 3001 , then in the cmd gpsid = [user input - 3001] and it will enable GPS to house id 0.
I hope it made a sense.