/me command errors
#2

PHP код:
CMD:me(playeridparams[])
{
    new
        
name    MAX_PLAYER_NAME ],
        
string    128 ],
        
action    100 ];
        
    if(
sscanf(params"s[100]"action)) {
        
SendClientMessage(playerid0xAA3333AA"[ERREUR]Utilise : /me [action]");
        return 
1;
    }
    else {
        
GetPlayerName(playeridnamesizeof(name));
        
format(stringsizeof(string), "* %s %s"nameaction);
        
SendClientMessage(playerid, -1string);
    }
    return 
1;

Reply


Messages In This Thread
/me command errors - by Eymeric69 - 29.05.2016, 16:09
Re: /me command errors - by luke49 - 29.05.2016, 16:16
Re: /me command errors - by IzadorO - 29.05.2016, 16:19
Re: /me command errors - by AlexBlack - 29.05.2016, 16:21
Re: /me command errors - by Eymeric69 - 29.05.2016, 16:28

Forum Jump:


Users browsing this thread: 1 Guest(s)