23.07.2009, 17:59
Код:
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; }