rendered paste body if(strcmp(cmd, "/booc", true) == 0 || strcmp(cmd, "/b", true) == 0) { if(IsPlayerConnected(playerid)) { new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[128]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "(/b)ooc [message]"); return 1; } format(string, sizeof(string), "(( [OOC] %s says: %s ))", GetPlayerNameEx(playerid), result); ProxDetector(3.0, playerid, string,COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY); } return 1; }