/do CMD [RP]
#1

hi,
i have a problem.
i created the command /do, and when i am doing it, it says "Unknown Command", but above it, it looks: /do [action]
I will give you a picture:

When I am writing the action, it does doing it, but it is very limited.
EDIT:
PHP код:
    if(strcmpcmd"/me"true ) == )
    {
    if(
IsPlayerConnected(playerid))
    {
    new 
tmp[128];
    
tmp strtok(cmdtext,idx);
    if(!
strlen(tmp))
    {
    
SendClientMessage(playeridCOLOR_WHITE"USAGE: /me [action]");
    return 
0;
    }
    new 
sendername[MAX_PLAYER_NAME];
    
GetPlayerName(playeridsendernamesizeof(sendername));
    new 
str[128];
    
format(str,sizeof(str),"*%s %s",sendernametmp);
    
ProxDetector(10.0playeridstrCOLOR_PURPLECOLOR_PURPLECOLOR_PURPLECOLOR_PURPLECOLOR_PURPLE);
    }
     return 
1;
    } 
Reply


Messages In This Thread
/do CMD [RP] - by 963852741 - 07.07.2011, 12:48
Re: /do CMD [RP] - by Wesley221 - 07.07.2011, 12:50
Re: /do CMD [RP] - by 963852741 - 07.07.2011, 12:50
Re: /do CMD [RP] - by Harry_Sandhu - 07.07.2011, 12:52
Re: /do CMD [RP] - by 963852741 - 07.07.2011, 12:53
Re: /do CMD [RP] - by HyperZ - 07.07.2011, 12:53
Re: /do CMD [RP] - by Wesley221 - 07.07.2011, 12:55
Re: /do CMD [RP] - by Babul - 07.07.2011, 12:57
Re: /do CMD [RP] - by Elorreli - 07.07.2011, 13:07
Re: /do CMD [RP] - by Wesley221 - 07.07.2011, 13:11

Forum Jump:


Users browsing this thread: 1 Guest(s)