/radio command help
#5

pawn Код:
new DriverVehID = GetPlayerVehicleID(playerid);
    foreach(Player, i)
    {
        if(DriverVehID == GetPlayerVehicleID(i))
            PlayAudioStreamForPlayer(i, string);
    }

    or

    new DriverVehID = GetPlayerVehicleID(playerid);
    foreach(Player, i)
    {
        if(IsPlayerInVehicle(i, DriverVehID))
            PlayAudioStreamForPlayer(i, string);
    }
Reply


Messages In This Thread
/radio command help - by MichaelWharton101 - 19.04.2013, 00:07
Re: /radio command help - by Scrillex - 19.04.2013, 00:09
Re: /radio command help - by Giroud12 - 19.04.2013, 00:10
Re: /radio command help - by MichaelWharton101 - 19.04.2013, 00:20
Re: /radio command help - by Jefff - 19.04.2013, 00:23
Re: /radio command help - by Giroud12 - 19.04.2013, 00:24
Re: /radio command help - by MichaelWharton101 - 19.04.2013, 00:24
Re: /radio command help - by Scrillex - 19.04.2013, 00:25
Re: /radio command help - by Giroud12 - 19.04.2013, 00:26

Forum Jump:


Users browsing this thread: 1 Guest(s)