how to find case's value
#5

?? = "slot" !?

Код:
 new slot, value,string[128]; 
        if(sscanf(params, "i", slot, value)) return SendClientMessage(playerid,-1,""COL_RED"Cmds: /setfreq [Slot] [Freq]"); 
        switch(slot) 
        { 
        case 1: pInfo[playerid][pRadioFreq1] = value; 
        case 2: pInfo[playerid][pRadioFreq2] = value; 
        case 3: pInfo[playerid][pRadioFreq3] = value; 
        } 
        format(string,sizeof(string),""COL_RED"Cmds: You have changed slot number %i at frequency %i.",slot, value); 
        SendClientMessage(playerid,-1,string); 
    }
Reply


Messages In This Thread
sscanf warning: Format specifier does not match parameter count. - by Zeus666 - 27.09.2018, 20:52
Re: how to find case's value - by GospodinX - 27.09.2018, 20:53
Re: how to find case's value - by Zeus666 - 27.09.2018, 20:55
Re: how to find case's value - by NaS - 27.09.2018, 20:55
Re: how to find case's value - by GospodinX - 27.09.2018, 20:58
Re: how to find case's value - by Zeus666 - 27.09.2018, 21:00
Re: how to find case's value - by GospodinX - 27.09.2018, 21:07
Re: how to find case's value - by Zeus666 - 27.09.2018, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)