02.03.2010, 18:57
Quote:
Originally Posted by SAWC™
pawn Код:
Код:
this is a simple text split into 2... string[2] string[3] string[4] string[5] string[6] |
Originally Posted by SAWC™
pawn Код:
Код:
this is a simple text split into 2... string[2] string[3] string[4] string[5] string[6] |
Text(text[])
{
new
string[7][128];
sscanf(text, "p<|>S(-1)[128]S(-1)[128]S(-1)[128]S(-1)[128]S(-1)[128]S(-1)[128]S(-1)[128]", string[0], string[1], string[2], string[3], string[4], string[5], string[6]);
for(new i; i < sizeof string; i++) if(strval(string[i]) != -1) print(string[i]); //SendClientMessageToAll(color, string[i]);
return 1;
}
public OnFilterScriptInit()
{
Text("this is a simple text | split into 2...");
return 1;
}