Sobald ich in Benutze bäm Server Weg...
ocmd:o(playerid,params[])
{
new text;
if(PlayerInfo[playerid][pAdmin] >= 1 || ochat == 1){
if(sscanf(params,"s",text))return SendClientMessage(playerid,ROT,"/o [NACHRICHT]");
new string1[128],string2[128],string3[128],string4[128],string5[128],string6[128],string7[128],string8[128],string1335[128],string1336[128],string1337[128],string1338[128],string1339[128];
format(string1,sizeof(string1),"(( Supporter %s: %s ))",SpielerName(playerid), text);
format(string2,sizeof(string2),"(( Supporter %s: %s ))",SpielerName(playerid), text);
format(string3,sizeof(string3),"(( Moderator %s: ))",SpielerName(playerid), text);
format(string4,sizeof(string4),"(( Moderator %s: ))",SpielerName(playerid), text);
format(string5,sizeof(string5),"(( Admin %s: ))",SpielerName(playerid), text);
format(string6,sizeof(string6),"(( Admin %s: ))",SpielerName(playerid), text);
format(string7,sizeof(string7),"(( Admin %s: ))",SpielerName(playerid), text);
format(string8,sizeof(string8),"(( Admin %s: ))",SpielerName(playerid), text);
format(string1335,sizeof(string1335),"(( Mapper %s: )) ",SpielerName(playerid), text);
format(string1336,sizeof(string1336),"(( Scripter %s: )) ",SpielerName(playerid), text);
format(string1337,sizeof(string1337),"(( Full-Admin %s: ))",SpielerName(playerid), text);
format(string1338,sizeof(string1338),"(( Projektleiter %s: ))",SpielerName(playerid), text);
format(string1339,sizeof(string1339),"(( Server-Owner %s: ))",SpielerName(playerid), text);
if(PlayerInfo[playerid][pAdmin] == 1) { SendClientMessageToAll(WHITE,string1); }
else if(PlayerInfo[playerid][pAdmin] == 2) { SendClientMessageToAll(WHITE,string2); }
else if(PlayerInfo[playerid][pAdmin] == 3) { SendClientMessageToAll(WHITE,string3); }
else if(PlayerInfo[playerid][pAdmin] == 4) { SendClientMessageToAll(WHITE,string4); }
else if(PlayerInfo[playerid][pAdmin] == 5) { SendClientMessageToAll(WHITE,string5); }
else if(PlayerInfo[playerid][pAdmin] == 6) { SendClientMessageToAll(WHITE,string6); }
else if(PlayerInfo[playerid][pAdmin] == 7) { SendClientMessageToAll(WHITE,string7); }
else if(PlayerInfo[playerid][pAdmin] == 8) { SendClientMessageToAll(WHITE,string8); }
else if(PlayerInfo[playerid][pAdmin] == 1335) { SendClientMessageToAll(WHITE,string1335); }
else if(PlayerInfo[playerid][pAdmin] == 1336) { SendClientMessageToAll(WHITE,string1336); }
else if(PlayerInfo[playerid][pAdmin] == 1337) { SendClientMessageToAll(WHITE,string1337); }
else if(PlayerInfo[playerid][pAdmin] == 1338) { SendClientMessageToAll(WHITE,string1338); }
else if(PlayerInfo[playerid][pAdmin] == 1339) { SendClientMessageToAll(WHITE,string1339); }
}
return 1;
}
Hoffe ihr wisst weiter.