/me and /do commands
#9

PHP код:
command(meplayeridparams[]) {
    new
        
string[128];
    if(
isnull(params)) {
        return 
SendClientMessage(playeridWHITE"SYNTAX: /me [action]");
    }
    else {
        if(
Player[playerid][PrisonID] == 1) {
            
SendClientMessage(playeridWHITE"You're unable to do this right now!");
        }
        else {
            
format(stringsizeof(string), "* %s %s"GetNameU(playerid), params);
            
NearByMessage(playeridNICESKYstring);
            
Player[playerid][MeActions]++;
        }
    }
    return 
1;

Reply


Messages In This Thread
/me and /do commands - by Jermi - 19.02.2012, 21:40
Re: /me and /do commands - by Kitten - 19.02.2012, 21:43
Re: /me and /do commands - by Jermi - 19.02.2012, 21:46
Re: /me and /do commands - by Mike_Rutherson - 19.02.2012, 21:46
Re: /me and /do commands - by milanosie - 19.02.2012, 21:47
Re: /me and /do commands - by Jermi - 19.02.2012, 21:50
Re: /me and /do commands - by milanosie - 19.02.2012, 21:53
Re: /me and /do commands - by Jermi - 19.02.2012, 22:23
Re: /me and /do commands - by Nuke547 - 19.02.2012, 22:47
Re: /me and /do commands - by ReneG - 19.02.2012, 22:47

Forum Jump:


Users browsing this thread: 1 Guest(s)