Quote:
Originally Posted by Galletziz
I hope that i understand what you mean, try this:
pawn Код:
tmp_str[128]; sscanf(inputtext,"ii",s_ID,s_Pos); format(tmp_str,sizeof(tmp_str),"The ID: %i, at Position: %i",s_ID, s_Pos); SendClientMessage(playerid,-1,tmp_str);
|
Thats exactly what I did and it doesn't work...
Quote:
Originally Posted by Jefff
Try
pawn Код:
sscanf(inputtext, "'ID:'p<,>i'Position:'i", s_ID, s_Pos);
or
pawn Код:
sscanf(inputtext, "{s[5]}p<,>i'Position:'i", s_ID, s_Pos);
|
Well this seem to work half-way but I'll take it. thank you. +Rep'ed