#1

When i type this command and i type the text i want it is giving me the usage instad of showing the message



PHP код:
CMD:rm(playeridparams[])
{
    if(
pInfo[playerid][pRamcl] >= 1)
        return 
SendClientMessageplayerid0xFF0000FF"Command not found! Please try again, or use /cmds to view a list of working commands." );
    
    new 
text[128];
    if(
sscanf(params"s[128]",text))
        return 
SendClientMessage(playeridRED"/rm [text]");
        
    
format(textsizeof(text), "[RAMCREWMSG]:(%s){33CCFF}%s: %s"GetRamFromLevel(playerid), rName(playerid), text);
    
SendRamMessage(COLOR_LIGHTBLUEtext);
    return 
1;

Reply


Messages In This Thread
Chat - by rambalili2 - 30.12.2015, 15:26
Re: Chat - by Karan007 - 30.12.2015, 15:30
Re: Chat - by rambalili2 - 30.12.2015, 15:36
Re: Chat - by IceBilizard - 30.12.2015, 15:40
Re: Chat - by rambalili2 - 30.12.2015, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)