FindZ of a Position
#2

ZCMD :
Код:
CMD:mycords(playerid, params[])
{
	new myString[128], Float:a;
	GetPlayerFacingAngle(playerid, a);

	format(myString, sizeof(myString), "Your angle is: %0.2f", a);
	SendClientMessageEx(playerid, 0xFFFFFFFF, myString);

	new myString2[128], Float:x, Float:y, Float:z;
	GetPlayerPos(playerid, x, y, z);

	format(myString2, sizeof(myString), "Your position is: %f, %f, %f", x, y, z);
	SendClientMessageEx(playerid, 0xFFFFFFFF, myString2);
	return 1;
}
Reply


Messages In This Thread
FindZ of a Position - by dalkgamler - 26.08.2012, 16:39
Re: FindZ of a Position - by Akira297 - 26.08.2012, 16:42
AW: FindZ of a Position - by dalkgamler - 26.08.2012, 17:02

Forum Jump:


Users browsing this thread: 1 Guest(s)