strings problem
#6

nothing :<

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


Messages In This Thread
strings problem - by cnoopers - 11.07.2014, 13:16
Re: strings problem - by Guest4390857394857 - 11.07.2014, 13:18
Re: strings problem - by cnoopers - 11.07.2014, 13:22
Re: strings problem - by BroZeus - 11.07.2014, 13:29
Re: strings problem - by GWMPT - 11.07.2014, 13:41
Re: strings problem - by cnoopers - 11.07.2014, 13:42
Re: strings problem - by Jefff - 11.07.2014, 13:50
Re: strings problem - by cnoopers - 11.07.2014, 14:04

Forum Jump:


Users browsing this thread: 1 Guest(s)