11.02.2015, 12:23
did you read it ?!
Wiki:
and PlayerPlaySound Function:
for example making a command with zcmd:
Wiki:
Quote:
To be used with PlayerPlaySound |
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)
pawn Код:
#include <a_samp>
#include <zcmd>
CMD:play(playerid, params[])
{
PlayerPlaySound(playerid, 3030, 0.0, 0.0, 0.0);
return 1;
}