Skip to content

Commit

Permalink
Merge pull request #341 from Mrucznik/hotfixy
Browse files Browse the repository at this point in the history
Hotfixy v2.7.10 + OP Miko
  • Loading branch information
Mrucznik authored Aug 20, 2020
2 parents 08da8cc + 2b6b130 commit 295d08a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion gamemodes/commands/cmd/admini.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,30 @@ YCMD:admini(playerid, params[], help)
}
if(!activeAdmins)
{
SendClientMessage(playerid, -1, "--- Brak ---");
SendClientMessage(playerid, -1, "Lista administratorów na serwerze:");
foreach(new i : Player)
{
if(PlayerInfo[i][pAdmin] == 5000)
{
format(string, sizeof(string), "{888888}H@: {FF6A6A}%s {888888}[ID: %d]", GetNickEx(i), i);
sendTipMessage(playerid, string);
}
else if(IsAScripter(i))
{
format(string, sizeof(string), "{888888}Skrypter: {747b41}%s {888888}[ID: %d]", GetNickEx(i), i);
sendTipMessage(playerid, string);
}
else if(PlayerInfo[i][pAdmin] >= 1)
{
format(string, sizeof(string), "{888888}Administrator: {FF6A6A}%s {888888}[ID: %d] [@LVL: %d]", GetNickEx(i), i, PlayerInfo[i][pAdmin]);
sendTipMessage(playerid, string);
}
else if(PlayerInfo[i][pNewAP] >= 1 && PlayerInfo[i][pNewAP] <= 4)
{
format(string, sizeof(string), "{888888}Pó³-Admin: {00C0FF}%s {888888}[ID: %d] [P@LVL: %d]", GetNickEx(i), i, PlayerInfo[i][pNewAP]);
sendTipMessage(playerid, string);
}
sendTipMessage(playerid, string);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gamemodes/obiekty
2 changes: 1 addition & 1 deletion gamemodes/system/textdraw.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ LoadTXD()

new txd[58];
format(txd, sizeof(txd), "Mrucznik-RP %s", VERSION);
ServerVersionTXD = TextDrawCreate(34.000000, 436.000000, txd);
ServerVersionTXD = TextDrawCreate(36.000000, 436.000000, txd);
TextDrawFont(ServerVersionTXD, 2);
TextDrawLetterSize(ServerVersionTXD, 0.166666, 1.049999);
TextDrawTextSize(ServerVersionTXD, 413.000000, 76.500000);
Expand Down

0 comments on commit 295d08a

Please sign in to comment.