23.05.2015, 18:30
Number sa-mp format (000-000) ?
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
print(ConvertNumber("+11234567890"));
//-> 123-456-7890
stock ConvertNumber(const string[]) {
new buffer[15];
strcat(buffer,string),strdel(buffer,0,2);
strins(buffer,"-",3,sizeof buffer);
strins(buffer,"-",7,sizeof buffer);
return buffer;
}