command help
#2

Код:
dcmd_shpos(playerid, params[])
{
	new string[128];
	new Float:x, Float:y, Float:z, Float:a;
	GetPlayerPos(playerid, x, y, z);
	GetPlayerFacingAngle(playerid,a);
	format(string, sizeof(string), "X=%f  Y=%f  Z=%f  A=%f",x,y,z,a);
	SendClientMessage(playerid, COLOR_RED, string);
	#pragma unused params
	return 1;
}
Reply


Messages In This Thread
command help - by WardenCS - 23.07.2009, 17:50
Re: command help - by mprofitt - 23.07.2009, 17:59
Re: command help - by WardenCS - 23.07.2009, 18:00
Re: command help - by MadeMan - 23.07.2009, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)