HELP - House Address Problem
#1

So i created address system so every house has its own address.
It generates the address when the house is created by looking at SAZones and it puts the smallest number that isn't loaded. My problem is that when a house is created and the server is restarted i don't know how to split the address in two pieces ( SAZone and address number ). I tried with strval and strtok but i can't figure it out. Help please
Reply
#2

Quote:
Originally Posted by Danijel.
Посмотреть сообщение
So i created address system so every house has its own address.
It generates the address when the house is created by looking at SAZones and it puts the smallest number that isn't loaded. My problem is that when a house is created and the server is restarted i don't know how to split the address in two pieces ( SAZone and address number ). I tried with strval and strtok but i can't figure it out. Help please
And we're supposed to guess your script?
Reply
#3

well it is a gamemode from scratch, and i thought you dont need it beacuse i just wanna know how to split string onto number and string
Reply
#4

Help!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)