25.06.2018, 14:29
format(string, sizeof(string), "Xtp[%.4f], Ytp[%.4f], Ztp[%.4f]", Xtp[playerid], Ytp[playerid], Ztp[playerid] );
Is just where it print, the error will still happen, you need to get a way to change:
Xtp[playerid] = x;
Ytp[playerid] = y;
Ztp[playerid] = z;
To get only the 4 numbers after dot
Because else if it will still bugging on
if(!IsPlayerInRangeOfPoint(playerid, 60.0, Xtp[playerid], Ytp[playerid], Ztp[playerid])) {
Is just where it print, the error will still happen, you need to get a way to change:
Xtp[playerid] = x;
Ytp[playerid] = y;
Ztp[playerid] = z;
To get only the 4 numbers after dot
Because else if it will still bugging on
if(!IsPlayerInRangeOfPoint(playerid, 60.0, Xtp[playerid], Ytp[playerid], Ztp[playerid])) {