05.04.2012, 08:44
God idea!
You can make...
Good Work!
You can make...
pawn Code:
stock PlayAudioInObject(objectid, url[], Float:range)
{
static
Float:iPosX,
Float:iPosY,
Float:iPosZ
;
GetObjectPos(objectid, iPosX, iPosY, iPosZ); // get object position.
PlayAudioStreamForPlayer(playerid, url, iPosX, iPosY, iPosZ, range, true); // Player Audio in object position(iPosX, iPosY, iPosZ).
return true;
}
Good Work!