dcmd_me(playerid, params[])
{
new pName[24], str[128];
GetPlayerName(playerid, pName, 24);
if(sscanf(params, "us", pName, str)) return SendClientMessage(playerid, COLOR_RED, "/me <local IC chat>");
format(str, sizeof(str), "%s", pName, str);
SendClientMessageToAll(COLOR_PINK, str);
return 0;
}
dcmd_do(playerid, params[])
{
new pName[24], str[128];
GetPlayerName(playerid, pName, 24);
if(sscanf(params, "us", pName, str)) return SendClientMessage(playerid, COLOR_RED, "/do <local IC chat>");
format(str, sizeof(str), "%s ((%u))", str, pName);
SendClientMessageToAll(COLOR_PINK, str);
return 0;
}
dcmd_me(playerid, params[])
{
new pName[24], str[128], string[128];
GetPlayerName(playerid, pName, 24);
if(sscanf(params, "us[128]", pName, str)) return SendClientMessage(playerid, COLOR_RED, "/me <local IC chat>");
format(string, sizeof(string), "%s", pName, str);
SendClientMessageToAll(COLOR_PINK, string);
return 0;
}
dcmd_me(playerid, params[])
{
new pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_RED, "/me <local IC chat>");
format(string, sizeof(string), "%s %s", pName, params);
SendClientMessageToAll(COLOR_PINK, string);
return 0;
}
nopes... /me isn't working for me again :P
there, I have taken a SS: |
dcmd_me(playerid, params[])
{
new pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_RED, "/me <local IC chat>");
format(string, sizeof(string), "%s %s", pName, params);
SendClientMessageToAll(COLOR_PINK, string);
return 0;
}
dcmd_me(playerid, params[])
{
new pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_RED, "/me <local IC chat>");
format(string, sizeof(string), "%s %s", pName, params);
SendClientMessageToAll(COLOR_PINK, string);
return 0;
}
YES! It works. /do problem solved. Now, how about the users problem?!!
|