- 0
YCMD:admins
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Rafaly
Salutare! As dorii sa aflu si eu cum as putea sa creez un Tag permanent pentru admini sau / si vipi.(Fondator NUME: Salut,Owner: NUME : Salut)si cum pot adauga la comanda admins rankul fiecarui nivel de admin in parte!
Va las aici comanda sa va fie mai usor.Multumesc anticipat !
YCMD:admins(playerid, params[], help) {
new string[128];
format(string, sizeof(string), "---------------- Admini conectati ----------------");
SCM(playerid, COLOR_SERVER, string);
if(PlayerInfo[playerid][pAdmin] < 1) {
foreach(PlayerAdmins, i) {
if(PlayerInfo[pScripter] > 0) format(string, sizeof(string), "(%d) %s - %s", i, PlayerInfo[pUsername], PlayerInfo[pAdmin] < 8 ? ("Scripter") : ("Fondator"));
format(string, sizeof(string), "(%d) %s - admin level %d", i, PlayerInfo[pUsername], PlayerInfo[pAdmin]);
SCM(playerid, -1, string);
}
}
else {
foreach(PlayerAdmins, i) {
if(GetPVarInt(i, "Cover") == 1) format(string, sizeof(string), "(%d) %s - admin level %d [afk: %d] [cover: %s]", i, PlayerInfo[pUsername], PlayerInfo[pAdmin], AFKSeconds, GetName(i));
else if(Spectate != 255) format(string, sizeof(string), "(%d) %s - admin level %d [afk: %d] [spec: %s]", i, PlayerInfo[pUsername], PlayerInfo[pAdmin], AFKSeconds, GetName(Spectate));
else format(string, sizeof(string), "(%d) %s - admin level %d [afk: %d]", i, PlayerInfo[pUsername], PlayerInfo[pAdmin], AFKSeconds);
SCM(playerid, -1, string);
}
}
SCM(playerid, COLOR_SERVER, "--------------------------------------------------------");
SCM(playerid, COLOR_WHITE, "Daca ai vreo problema, poti folosi /report. Pentru intrebari legate de joc poti folosi /n.");
SCM(playerid, COLOR_SERVER, "--------------------------------------------------------");
return true;
}
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.