26.01.2012, 15:04
(
Последний раз редактировалось liquid13; 27.01.2012 в 09:50.
)
-fixed-
sscanf(data, "p<,>a<i>[8]", newArray); // the "p" is the delimter, and the "a" is the array which type is integer and the array size is 8
new
IDS[3000],
ces[500];
sscanf(IDS, "p<,>a<i>[500]", ces);
new i = 0;
while(i < 500)
{
printf("%d", ces[i]);
i++;
}
yeah it worked thanks a lot. so can i try a thing like this :
pawn Код:
|
while(i < 500)
{
if(ces[i] == 1234)
{
print("ces[%d] is 1234!!!", i);
}
i++;
}