11.07.2014, 13:42
nothing :<
EDIT:
@up, changed for printf, but still it not work
EDIT:
@up, changed for printf, but still it not work
Код:
CMD:gethomepos(playerid, cmdtext[]) { if(IsPlayerAdmin(playerid)) { new Float:x, Float:y, Float:z; new Float:angle; new string[128]; GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid, angle); format(string, sizeof(string), "x: %1f, y: %1f, z: %1f, angle: %1f", x, y, z, angle); SendClientMessage(playerid, -1, string); printf("IsPlayerInRangeOfPoint(playerid, 1.0, %f, %f, %f);", x, y, z); printf("SetPlayerFacingAngle(playerid, %f);", angle); } return 1; }