Playing a SoundID when something happens
#2

did you read it ?!

Wiki:
Quote:

To be used with PlayerPlaySound
and PlayerPlaySound Function:

pawn Код:
Parameters:
(playerid, soundid, Float:x, Float:y, Float:z)
playerid    The ID of the player for whom to play the sound.
soundid The sound to play.
Float:x X coordinate for the sound to play at. (0 for no position)
Float:y Y coordinate for the sound to play at. (0 for no position)
Float:z Z coordinate for the sound to play at. (0 for no position)
for example making a command with zcmd:

pawn Код:
#include <a_samp>
#include <zcmd>

CMD:play(playerid, params[])
{
   PlayerPlaySound(playerid, 3030, 0.0, 0.0, 0.0);
   return 1;
}
Reply


Messages In This Thread
Playing a SoundID when something happens - by kevin1990 - 11.02.2015, 12:19
Re: Playing a SoundID when something happens - by M4D - 11.02.2015, 12:23
Re: Playing a SoundID when something happens - by kevin1990 - 11.02.2015, 12:25

Forum Jump:


Users browsing this thread: 1 Guest(s)