28.03.2012, 12:30
Hi evryone i want one simple command for /write for admins level 1 Of who command work win [REP+] When admin level 1 type /write get this maybe /write Colour-id Text Colour ids ...... 1 White 2 Black ......
} if(strcmp(cmd, "/asay", true) == 0){ if(PlayerInfo[playerid][power]>=1){ new tmp[256]; tmp = strrest(cmdtext,idx); if(!strlen(tmp)){ SendClientUsage(playerid, cmd, "[msg]"); GameTextForAll("~u~~w~Admin Announce~n~~r~ Listen~d~",8000,6); //LOL return 1; } new oocstr[256]; new jailer[MAX_STRING]; if(PlayerInfo[playerid][power]==53) myStrcpy(jailer,"Admin Unknown"); else myStrcpy(jailer,PlayerName(playerid)); format(oocstr,sizeof(oocstr),"Admin %s says:{FF6347} %s",jailer,tmp); GameTextForAll("~u~~w~Admin Announce~n~~r~ Listen~d~",8000,6); //LOL //format(oocstr,sizeof(oocstr),"((Admin %s: %s))",PlayerName(playerid),tmp); for(new f=0;f<MAX_PLAYERS;f++){ if(PlayerTemp[f][oocoff]==0) SendClientMessage(f,COLOR_BRIGHTRED,oocstr); } ircecho("ooc_chat %d %s %s",playerid,PlayerName(playerid),tmp); print(oocstr); AppendTo(ooclog,oocstr); return 1; }