22.11.2009, 21:49
I didn't like the plain old Godfather giving number system so i created my own.
It works like this: When the player is registering they choose a phone number and when they choose a phone number server creates a blank file in the /scriptfiles/phonenumbers/ folder. That would make the phone number taken.
If somebody else wants it, server would check does the phone number file exist and if yes, player would get a message saying that the phone number is taken.
Well, this phone number hunting can be a real pain when 10000 numbers are already taken so i was thinking to make a textdraw with suggestions, where there would be 5 number suggestions.
And now the question: Im stuck, i don't know how to create the suggestions... so could you please give me an idea or sample code ?
Thank you very much.
It works like this: When the player is registering they choose a phone number and when they choose a phone number server creates a blank file in the /scriptfiles/phonenumbers/ folder. That would make the phone number taken.
If somebody else wants it, server would check does the phone number file exist and if yes, player would get a message saying that the phone number is taken.
Well, this phone number hunting can be a real pain when 10000 numbers are already taken so i was thinking to make a textdraw with suggestions, where there would be 5 number suggestions.
And now the question: Im stuck, i don't know how to create the suggestions... so could you please give me an idea or sample code ?
Thank you very much.