No message?
#4

Try this
PHP код:
CMD:setjingle(playeridparams[])
{
    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(playeridCOLOR_UPDATED"The jingle URL has successfully been updated!");
            
format(jinglesizeof(jingle), "%s"input);
            
PlayAudioStreamForPlayer(playeridnewsjingle);
        }
    }
    else return 
SCM(playeridCOLOR_GREY"You are not a member of RSF.");
    return 
1;

By the way, don't use format to pass on strings
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: 2 Guest(s)