02.01.2011, 03:19
help to include lastname when use command ..i only see firstname wen i use /me what the problem WTF??
CMD:me(playerid, params[]){
if(isnull(params)) return SendClientMessage(playerid, yellow, "/me [text]");
new
string[128],
pName[20 char]
;
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "* %s %s *", pName, params);
return SendClientMessageToAll(0xFFFFFFFF, string);
}
CMD:me(playerid, params[]){
if(isnull(params)) return SendClientMessage(playerid, yellow, "/me [text]");
new
string[128],
pName[20 char]
;
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "* %s %s *", pName, params);
return SendClientMessageToAll(0xFFFFFFFF, string);
}