Audio plugin for all
#3

Thanks, and you could do the same with this cmd?
I tried the same thing as the playstreamed but it does not work

Код:
dcmd_set3dposition(playerid, params[])
{
	#pragma unused playerid
	new
		handleid,
		Float:distance,
		Float:x,
		Float:y,
		Float:z;
	if (sscanf(params, "dffff", handleid, x, y, z, distance))
	{
		SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /set3dposition <handleid> <x> <y> <z> <distance>");
		return 1;
	}
	new
		string[128];
	format(string, sizeof(string), "Audio 3D position set to %.01f, %.01f, %.01f (distance: %.01f) for handle ID %d", x, y, z, distance, handleid);
	SendClientMessage(playerid, COLOR_YELLOW, string);
    Audio_Set3DPosition(playerid, handleid, x, y, z, distance);
	return 1;
}
Reply


Messages In This Thread
Audio plugin for all - by birekzkiw - 17.02.2011, 22:34
Re: Audio plugin for all - by Kwarde - 17.02.2011, 22:37
Re: Audio plugin for all - by birekzkiw - 19.02.2011, 00:49
Re: Audio plugin for all - by Kwarde - 19.02.2011, 21:16
Re: Audio plugin for all - by birekzkiw - 19.02.2011, 22:55
Re: Audio plugin for all - by Kwarde - 19.02.2011, 23:35

Forum Jump:


Users browsing this thread: 3 Guest(s)