19.10.2012, 03:44
If someone can make me a small /s(shout) command in light orange color with 1 ! mark that would be great.
CMD:s(playerid, params[]) { if(gPlayerLogged{playerid} == 0) { SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in."); return 1; } if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "SYNTAX:(/s)hout [shout chat]"); new string[128]; format(string, sizeof(string), "(shouts) %s!", params); SetPlayerChatBubble(playerid,string,COLOR_WHITE,60.0,5000); format(string, sizeof(string), "%s shouts: %s!", GetPlayerNameEx(playerid), params); ProxDetector(30.0, playerid, string,COLOR_ORANGE,COLOR_ORANGE,COLOR_ORANGE,COLOR_ORANGE,COLOR_ORANGE); if(PlayerInfo[playerid][pBugged] == 1) { format(string, sizeof(string), "(bug) %s shouts: %s!", GetPlayerNameEx(playerid), params); SendBugMessage(2, COLOR_LIGHTGREEN, string); } return 1; }