if(!strcmp(cmdtext, \"/me\", true, 3)){ if(cmdtext[3] == 0) { SendClientMessage(playerid, 0xFF0000FF, \"Használat: /me (Cselekvés)\"); return 1; } new str[128]; GetPlayerName(playerid, str, sizeof(str)); format(str, sizeof(str), \"* %s %s\", str, cmdtext[4]); SendClientMessageToAll(0xFFFF00AA, str); return 1; }
CMD:me(playerid, params[]){ new SenderName[MAX_PLAYER_NAME],string[128]; GetPlayerName(playerid,SenderName,sizeof(SenderName)); if(isnull(params)) return SendClientMessage(playerid, 0xFFFF00AA,\"HIBA: /me [cselekves]\"); format(string, sizeof(string), \"***%s %s\", SenderName, params); SendClientMessageToAll( COLOR_PINK, string); return 1;}