10.07.2013, 17:38
well I got same problem as you, and I did this. I added this command and wrote it when I spawned, then I went to my gm, and search for SetPlayerPos(playerid, and coords here). I found that there is more than one line with same coordinates.
Код:
CMD:position(playerid, params[])
{
new Float:x,Float:y,Float:z,string[128],Float:angle;
GetPlayerPos(playerid, x,y,z);
GetPlayerFacingAngle(playerid, angle);
format(string, sizeof(string), "X coord is: %f", x);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "Y coord is: %f", y);
SendClientMessage(playerid, COLOR_LIGHTGREEN, string);
format(string, sizeof(string), "Z coord is: %f", z);
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string, sizeof(string), "Your facing angle is: %f", angle);
SendClientMessage(playerid, COLOR_LIGHTGREEN, string);
return 1;
}

