Guten Abend ,
Ja ich hab mal eine kurze Frage und zwar beim Aond Befehl hab da mal rum gespielt bloß geht das nicht sonder es kommt immer Supporter
warum ?? Wär schön wenn ihr mir helfen könntet
Code
if(strcmp(cmd, "/aond", true) == 0) { if(IsPlayerConnected(playerid)) { printf("i",PlayerInfo[playerid][pAdmin]); if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdmin] < 10 ) { new Float:X,Float:Y,Float:Z; new supstring[200]; AdminDuty[playerid] = 1; SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GetPlayerName(playerid, sendername, sizeof(sendername)); format(supstring, sizeof(supstring), "** %s hat sich als Supporter angemeldet **", sendername, playerid); SendClientMessageToAll(TEAM_BALLAS_COLOR, supstring); SetPlayerColor(playerid, TEAM_BALLAS_COLOR); // lila GetPlayerPos(playerid,X,Y,Z); return 1; } if(PlayerInfo[playerid][pAdmin] >= 10 || PlayerInfo[playerid][pAdmin] < 450 ) { new Float:X,Float:Y,Float:Z; new modstring[200]; AdminDuty[playerid] = 1; SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GetPlayerName(playerid, sendername, sizeof(sendername)); format(modstring, sizeof(modstring), "** %s hat sich als Moderator/Supporter angemeldet **", sendername, playerid); SendClientMessageToAll(TEAM_BALLAS_COLOR, modstring); SetPlayerColor(playerid, TEAM_BALLAS_COLOR); // lila GetPlayerPos(playerid,X,Y,Z); return 1; } if(PlayerInfo[playerid][pAdmin] >= 450 || PlayerInfo[playerid][pAdmin] < 1338 ) { new Float:X,Float:Y,Float:Z; new smstring[200]; AdminDuty[playerid] = 1; SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GetPlayerName(playerid, sendername, sizeof(sendername)); format(smstring, sizeof(smstring), "** %s hat sich als Super Moderator angemeldet **", sendername, playerid); SendClientMessageToAll(TEAM_BALLAS_COLOR, smstring); SetPlayerColor(playerid, TEAM_BALLAS_COLOR); // lila GetPlayerPos(playerid,X,Y,Z); return 1; } if(PlayerInfo[playerid][pAdmin] >= 1338 || PlayerInfo[playerid][pAdmin] < 2000 ) { new Float:X,Float:Y,Float:Z; new adstring[200]; AdminDuty[playerid] = 1; SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GetPlayerName(playerid, sendername, sizeof(sendername)); format(adstring, sizeof(adstring), "** %s hat sich als Administrator angemeldet **", sendername, playerid); SendClientMessageToAll(TEAM_BALLAS_COLOR, adstring); SetPlayerColor(playerid, TEAM_BALLAS_COLOR); // lila GetPlayerPos(playerid,X,Y,Z); return 1; } if(PlayerInfo[playerid][pAdmin] == 2000) { new Float:X,Float:Y,Float:Z; new stvstring[200]; AdminDuty[playerid] = 1; SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GetPlayerName(playerid, sendername, sizeof(sendername)); format(stvstring, sizeof(stvstring), "** %s hat sich als Stellv. Serverleiter angemeldet **", sendername, playerid); SendClientMessageToAll(TEAM_BALLAS_COLOR, stvstring); SetPlayerColor(playerid, TEAM_BALLAS_COLOR); // lila GetPlayerPos(playerid,X,Y,Z); return 1; } if(PlayerInfo[playerid][pAdmin] == 2001) { new Float:X,Float:Y,Float:Z; new svstring[200]; AdminDuty[playerid] = 1; SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GetPlayerName(playerid, sendername, sizeof(sendername)); format(svstring, sizeof(svstring), "** %s hat sich als Serverleiter angemeldet **", sendername, playerid); SendClientMessageToAll(TEAM_BALLAS_COLOR, svstring); SetPlayerColor(playerid, TEAM_BALLAS_COLOR); // lila GetPlayerPos(playerid,X,Y,Z); return 1; } } }
Wär schön wenn mir jemand helfen könne
- JasoN.MendeZ