Split a string
#7

pawn Код:
new number1, number2, number3, str[256];
sscanf(inputtext, "p<:>iii", number1, number2, number3);
format(str, sizeof(str), "1. 0%i 2. 0%i 3. 0%i", number1, number2, number3);
SendClientMessage(playerid, COLOR_RED, str);
I can't think of any other way atm
Reply


Messages In This Thread
Split a string - by GiS - 08.01.2011, 17:55
Re: Split a string - by Retardedwolf - 08.01.2011, 18:00
Re: Split a string - by armyoftwo - 08.01.2011, 18:05
Re: Split a string - by GiS - 08.01.2011, 18:05
Re: Split a string - by armyoftwo - 08.01.2011, 18:06
Re: Split a string - by GiS - 08.01.2011, 18:19
Re: Split a string - by armyoftwo - 08.01.2011, 18:26
Re: Split a string - by GiS - 08.01.2011, 18:32
Re: Split a string - by Krx17 - 08.01.2011, 18:43
Re: Split a string - by Mаkaveli - 08.01.2011, 18:44

Forum Jump:


Users browsing this thread: 1 Guest(s)