command doesnt show ig!
#4

pawn Код:
CMD:playradio(playerid, params [])
{
    if(!IsPlayerInAnyVehicle(playerid)) // You can remove this if you want, this means the radio won't start If you're not inside a vehicle.
    {
    SendClientMessageEx(playerid, COLOR_BLUE, "In-case you want to turn the radio on, you have to be in a vehicle!");
    }
    else
    {
        ShowPlayerDialog(playerid, 9312, DIALOG_STYLE_LIST, "Radio Station", "Radio Channels\nTurn the music off", "Select", "Cancel"); // Now, we're using the first dialog, you can add any options you want, for example, I've added 'Radio Channels, and turn the music off.
        return 1;
    }
put it at anywhere on your script ,
Reply


Messages In This Thread
command doesnt show ig! - by Mr.1337 - 18.07.2012, 08:26
Re: command doesnt show ig! - by RedJohn - 18.07.2012, 08:41
Re: command doesnt show ig! - by Mr.1337 - 18.07.2012, 09:01
Re: command doesnt show ig! - by Devilxz97 - 18.07.2012, 09:06
Re: command doesnt show ig! - by Gangs_Rocks - 18.07.2012, 10:55
Re: command doesnt show ig! - by ViniBorn - 18.07.2012, 12:37
Re: command doesnt show ig! - by Rudy_ - 18.07.2012, 13:08

Forum Jump:


Users browsing this thread: