Roleplay command help
#1

I have a /me command but it has errors can someone help me can someone also tell me how to make a /ame (/me above head) and a /b (out of character)
Here is the /me code
PHP код:
    CMD:me(playeridparams[])
    {
    new
    
string[128],
    
action[100];
    if(
sscanf(params"s[100]"action))
    {
    
SendClientMessage(playerid, -1"USAGE: /me [action]");
    return 
1;
    }
    else
    {
    
format(stringsizeof(string), "* %s %s"GetName(playerid), action);
    
ProxDetector(30playeridstringPURPLE);
    }
    return 
1;
    } 
And here are the errors
PHP код:
C:\Users\logan_000\Desktop\Samp server\gamemodes\lramos15.pwn(395) : error 029invalid expressionassumed zero
C
:\Users\logan_000\Desktop\Samp server\gamemodes\lramos15.pwn(395) : error 017undefined symbol "cmd_me"
C:\Users\logan_000\Desktop\Samp server\gamemodes\lramos15.pwn(395) : error 029invalid expressionassumed zero
C
:\Users\logan_000\Desktop\Samp server\gamemodes\lramos15.pwn(395) : fatal error 107too many error messages on one line 
Reply


Messages In This Thread
Roleplay command help - by lramos15 - 24.02.2013, 03:09
Re: Roleplay command help - by @Riichard - 24.02.2013, 03:11
Re: Roleplay command help - by NathNathii - 24.02.2013, 03:11
Re: Roleplay command help - by lramos15 - 24.02.2013, 03:51
Respuesta: Roleplay command help - by Strier - 24.02.2013, 04:58
Re: Respuesta: Roleplay command help - by Marven - 24.02.2013, 07:45
Re: Roleplay command help - by lramos15 - 24.02.2013, 14:44
Re: Roleplay command help - by erminpr0 - 24.02.2013, 16:03
Re: Roleplay command help - by lramos15 - 24.02.2013, 18:13
Re: Roleplay command help - by lramos15 - 24.02.2013, 18:15

Forum Jump:


Users browsing this thread: 2 Guest(s)