public OnPlayerText(playerid, text[]){ if(text[0] == '#') { if(AdminLevel[playerid]) { dcmd_admsg(playerid, text[1]); return 0; } } //Rest of code...}