04.04.2013, 12:38
(
Последний раз редактировалось vyper; 03.08.2015 в 19:21.
)
*removed* please delete thread.
COMMAND:sound(playerid, params[]) { new amt; if(sscanf(params, "ii", amt)) return SendClientMessage(playerid, -1, "{F81414}COMMAND: {FFFFFF}/sound <soundid>"); new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X,Y,Z); PlayerPlaySound(playerid, amt, X,Y,Z); return 1; }
theres a way easyier way you could test out all sounds not just 6898
Here it is: Код:
COMMAND:sound(playerid, params[]) { new amt; if(sscanf(params, "ii", amt)) return SendClientMessage(playerid, -1, "{F81414}COMMAND: {FFFFFF}/sound <soundid>"); new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X,Y,Z); PlayerPlaySound(playerid, amt, X,Y,Z); return 1; } |