playerplaysound
#2

You forgot the braces. { & }
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: 2 Guest(s)