/setstation bugged
#3

Quote:
Originally Posted by LaGrande
Посмотреть сообщение
show us the code, or we can't help
pawn Код:
CMD:setstation(playerid, params[]) {
    if(!IsPlayerInAnyVehicle(playerid)) {
        return SendClientMessageEx(playerid, COLOR_GRAD2, "You must be in a car to use a car radio.");
    }
    else if(isnull(params)) {
        SendClientMessageEx(playerid, COLOR_GRAD2, "USAGE: /setstation [station] (0 - no station)");
        SendClientMessageEx(playerid, COLOR_GRAD2, "(1) LGRP K-LSR - (2) 181.FM: The Buzz - (3) 181.FM: Blues - (4) 181.FM: Classic Hits - (5) 181.FM: Kickin' Country");
        SendClientMessageEx(playerid, COLOR_GRAD2, "(6) 181.FM: Highway 181 - (7) COOL93 - (8) TechnoBase.FM - (9) Dubplate.FM - (10) Word of Truth Radio");
        SendClientMessageEx(playerid, COLOR_GRAD2, "(11) SKY.FM: Jazz - (12) MovidaMix - (13) #MUSIK.EXTREME - (14) SKY.FM: New Age - (15) .977 The Hitz Channel");
        SendClientMessageEx(playerid, COLOR_GRAD2, "(16) KCRW ALL NEWS - (17) HOT 108 JAMZ - (18) Reggae141 - (19) RMF FM - (20) French Kiss FM");
        SendClientMessageEx(playerid, COLOR_GRAD2, "(21) DEFJAY - (22) 181.FM Hairband - (23) Idobi Radio");
        return 1;
    }

    new string[128], station[256];
    switch(strval(params)) {
        case 1: {
            format(string, sizeof(string), "* %s changes the station to K-LSR.",GetPlayerNameEx(playerid));
            format(station, sizeof(station), "http://216.246.109.162:8000");
            stationidv[GetPlayerVehicleID(playerid)] = 1;
        }
Reply


Messages In This Thread
/setstation bugged - by BurgerWoman - 03.08.2012, 11:36
Re: /setstation bugged - by LaGrande - 03.08.2012, 11:45
Re: /setstation bugged - by BurgerWoman - 03.08.2012, 12:14
Re: /setstation bugged - by IceMeteor - 03.08.2012, 12:21
Re: /setstation bugged - by BurgerWoman - 03.08.2012, 12:36
Re: /setstation bugged - by KatieNGG - 03.08.2012, 13:09

Forum Jump:


Users browsing this thread: 1 Guest(s)