06.04.2014, 04:32
I have this turf system. But its too much buggy. When you type /points alll the point name is 1 i dont know why.

I have this points.cfg in scriptfiles

I Hope you guys can help me about this
Код:
CMD:points(playerid, params[])
{
new string[128];
for(new i; i < MAX_POINTS; i++)
{
if (Points[i][Type] >= 0)
{
format(string, sizeof(string), "Name: %s | Owner: %s | Captured By: %s | Hours: %d",
Points[i][Name],Points[i][Owner],Points[i][CapperName],Points[i][Vulnerable]);
SendClientMessageEx(playerid, COLOR_WHITE, string);
}
}
return 1;
}

I have this points.cfg in scriptfiles

Код:
1423.473266|-1319.274291|13.554697|1|4|None|Angel Mae|1 |0 0.000000|0.000000|13.554697|1|0|None|Angel Mae|1 |0 0.000000|0.000000|13.554697|1|0|None|Angel Mae|1 |0 0.000000|0.000000|13.554697|1|0|None|Angel Mae|1 |0 0.000000|0.000000|13.554697|1|0|None|Angel Mae|1 |0 0.000000|0.000000|13.554697|1|0|None|Angel Mae|1 |0 0.000000|0.000000|13.554697|1|0|None|Angel Mae|1 |0 0.000000|0.000000|13.554697|1|0|None|Angel Mae|1 |0 0.000000|0.000000|13.554697|1|0|None|Angel Mae|1 |0

