Cars audio
#1

Hello i want to ask ware i can get horns audio for police and medic , i meen audio that plays when u press h and when u hold h
Reply
#2

https://sampwiki.blast.hk/wiki/SoundID

https://sampwiki.blast.hk/wiki/PlayerPlaySound
Reply
#3

http://www.gtagarage.com/mods/index.php

If you're looking for a modification you've posted in the wrong section.
Reply
#4

no i am loking for saunds to play for specific cars not police ones when pressed or hold H key.
i have looked hare https://sampwiki.blast.hk/wiki/SoundID but all i can find is police radio
Reply
#5

pawn Код:
#define HOLDING(%0) \
    ((newkeys & (%0)) == (%0))

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (HOLDING(KEY_CTRL_BACK))
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new Float:X, Float:Y, Float:Z;
            GetPlayerPos(playerid, X, Y, Z);
            PlayerPlaySound(playerid, 3038, X, Y, Z);
        }
    }
    return 1;
}
Reply
#6

Quote:
Originally Posted by HY
Посмотреть сообщение
pawn Код:
#define HOLDING(%0) \
    ((newkeys & (%0)) == (%0))

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (HOLDING(KEY_CTRL_BACK))
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new Float:X, Float:Y, Float:Z;
            GetPlayerPos(playerid, X, Y, Z);
            PlayerPlaySound(playerid, 3038, X, Y, Z);
        }
    }
    return 1;
}
okay have checked id i thing this is id when u press h 2 times but if u press too times and then hold its gets different sound , another question how to stop playing sound if i use playerplaysound ?
and that id is not for sirens is just say "Police Car"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)