No message?
#3

pawn Код:
CMD:setjingle(playerid, params[])
{
    new input[128];
    if(IsRadioMember(playerid))
    {
        if(sscanf(params, "s[128]", input)) return SendUsageMessage(playerid, "/setjingle [jingle stream url] - Abusing will get you punished!");
        {
            SendClientMessage(playerid, COLOR_UPDATED, "The jingle URL has successfully been updated!");
            format(jingle, sizeof(jingle), "%s", input);
            PlayAudioStreamForPlayer(playerid, newsjingle);
        }
    }
    else return SCM(playerid, COLOR_GREY, "You are not a member of RSF.");
    return 1;
}
This should work.
Reply


Messages In This Thread
No message? - by JaydenJason - 14.05.2015, 16:01
Re: No message? - by Konstantinos - 14.05.2015, 16:06
Re: No message? - by AdHaM612 - 14.05.2015, 16:07
Re: No message? - by Sellize - 14.05.2015, 16:07
Re: No message? - by Pottus - 14.05.2015, 16:32
Re: No message? - by JaydenJason - 14.05.2015, 16:43
Re: No message? - by JaydenJason - 15.05.2015, 10:29
Re: No message? - by rappy93 - 15.05.2015, 10:50
Re: No message? - by JaydenJason - 15.05.2015, 11:33
Re: No message? - by JaydenJason - 15.05.2015, 14:10

Forum Jump:


Users browsing this thread: 1 Guest(s)