Sound ID - +REP For Helper
#6

Quote:
Originally Posted by iorp
Посмотреть сообщение
well not too hard, just try this way

Код:
CMD:sound(playerid, params[])
{
    new sound_id;
    if(sscanf(params, "i", sound_id)) return SendClientMessage(playerid, -1, "{F81414}COMMAND: {FFFFFF}/sound <soundid>");
    new Float:X, Float:Y, Float:Z; 
    GetPlayerPos(playerid, X,Y,Z);
    PlayerPlaySound(playerid, sound_id, X,Y,Z);
    return 1;
}
No need to get the player's position
Reply


Messages In This Thread
Sound ID - +REP For Helper - by qlia - 24.12.2018, 18:25
Re: Sound ID - +REP For Helper - by qlia - 25.12.2018, 01:44
Re: Sound ID - +REP For Helper - by iorp - 25.12.2018, 01:47
Re: Sound ID - +REP For Helper - by DarkMythHunter - 25.12.2018, 01:52
Re: Sound ID - +REP For Helper - by iorp - 25.12.2018, 01:57
Re: Sound ID - +REP For Helper - by Undef1ned - 25.12.2018, 02:08
Re: Sound ID - +REP For Helper - by DarkMythHunter - 25.12.2018, 02:17
Re: Sound ID - +REP For Helper - by Jefff - 25.12.2018, 02:28
Re: Sound ID - +REP For Helper - by qlia - 25.12.2018, 05:43

Forum Jump:


Users browsing this thread: 2 Guest(s)