27.10.2010, 18:28
Hi everyone,
I have a little problem with Split().
Why isn't this script working?
When I remove the split line, I see the test line in the server window. When I test it like this the test line doesnt even show.
Thanks in advance
I have a little problem with Split().
Why isn't this script working?
When I remove the split line, I see the test line in the server window. When I test it like this the test line doesnt even show.
pawn Код:
forward LoadVehicles();
public LoadVehicles()
{
new data[256], field[3][32];
mysql_query("SELECT x, y, z FROM vehicles");
mysql_store_result();
while (mysql_fetch_row(data, "|"))
{
split(data, field, '|');
print("testline");
}
}
![Smiley](images/smilies/smile.png)