Major problem with spawning
#2

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;
}
Reply


Messages In This Thread
Major problem with spawning - by Drake Star - 10.07.2013, 17:30
Re: Major problem with spawning - by dominik523 - 10.07.2013, 17:38
Re: Major problem with spawning - by Drake Star - 10.07.2013, 17:49
Re: Major problem with spawning - by Drake Star - 10.07.2013, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)