playerplaysound
#1

Hey, I want to make something. When two planes are close to eachother there is going to be a sound when they get like 20 netters away the sound will stop

So I am going to try my self fix my errors if there are any! Thank you

pawn Code:
public OnPlayerStreamIn(playerid, forplayerid)
{
    if(IsVehicleAirBorne( GetVehicleModel( GetPlayerVehicleID( playerid ) ) ) )
    new string[40];
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 10.0);
    format(string, sizeof(string), "Player %d is now streamed in for you.", playerid);
    SendClientMessage(forplayerid, 0xFFFFFFFF, string);
    return 1;
}
Reply


Messages In This Thread
playerplaysound - by propilot - 25.12.2010, 05:24
Re: playerplaysound - by Krx17 - 25.12.2010, 05:29
Re: playerplaysound - by propilot - 25.12.2010, 05:32
Re: playerplaysound - by MrDeath537 - 25.12.2010, 05:41
Re: playerplaysound - by propilot - 25.12.2010, 06:02

Forum Jump:


Users browsing this thread: 1 Guest(s)