CMD:me(playerid, params[]) { new string[128],msg[128],pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); if(sscanf(params,"sz",msg)) return SendClientMessage(playerid,COLOR_RED, "USAGE: /me <text>"); format(string,sizeof(string),"*%s %s",pname,msg); SendClientMessageToAll(COLOR_GREY,string); return 1; }
CMD:me(playerid, params[])
{
new string[128],msg[100],pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,sizeof(pname));
if(sscanf(params,"s[100]",msg)) return SendClientMessage(playerid,COLOR_RED, "USAGE: /me <text>");
format(string,sizeof(string),"*%s %s",pname,msg);
SendClientMessageToAll(COLOR_GREY,string);
return 1;
}
CMD:me(playerid, params[])
{
new string[128], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /me <text>");
format(string,sizeof(string),"*%s %s",pname,msg);
SendClientMessageToAll(COLOR_GREY,string);
return 1;
}
CMD:me(playerid, params[]) { new string[128],pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); if(!strlen(params)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /me <text>"); format(string,sizeof(string),"*%s %s",pname,params); SendClientMessageToAll(COLOR_GREY,string); return 1; }
Код:
CMD:me(playerid, params[]) { new string[128],pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); if(!strlen(params)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /me <text>"); format(string,sizeof(string),"*%s %s",pname,params); SendClientMessageToAll(COLOR_GREY,string); return 1; } |
8:02 AM
if(!strlen(params)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /me <text>");
Код:
CMD:me(playerid, params[]) { new string[128],pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); if(!strlen(params)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /me <text>"); format(string,sizeof(string),"*%s %s",pname,params); SendClientMessageToAll(COLOR_GREY,string); return 1; } |