Advertisement
Guest User

Vampesz

a guest
Feb 6th, 2011
588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.00 KB | None | 0 0
  1. public AdminKulonlegesseg(playerid)
  2. {
  3.     if(IsPlayerConnected(playerid))
  4.     {
  5.         if(PlayerInfo[playerid][admin] >= 1)
  6.         {
  7.             new titulus[32];
  8.             if(PlayerInfo[playerid][admin] == 1){titulus = "Próbaidős Admin";}
  9.             else if(PlayerInfo[playerid][admin] == 2){titulus = "Admin";}
  10.             else if(PlayerInfo[playerid][admin] == 3){titulus = "VIP Admin";}
  11.             else if(PlayerInfo[playerid][admin] == 4){titulus = "FőAdmin";}
  12.             else if(PlayerInfo[playerid][admin] == 5)
  13.             {
  14.                 if(strcmp(Neve(playerid), "Vampesz", true) == 0)
  15.                 {
  16.                     titulus = "Scripter";
  17.                 }
  18.                 else if(strcmp(Neve(playerid), "V_V", true) == 0)
  19.                 {
  20.                     titulus = "Mapper";
  21.                 }
  22.                 return 1;
  23.             }
  24.             else if(IsPlayerAdmin(playerid)){titulus = "RCON Admin";}
  25.             new Float:pp[3];
  26.             GetPlayerPos(playerid, pp[0], pp[1], pp[2]);
  27.             atext = Create3DTextLabel(titulus, 0x0000FF, pp[0], pp[1], pp[2], 20, 0, 0);
  28.             Attach3DTextLabelToPlayer(atext, playerid, 0, 0, 0.7);
  29.             return 1;
  30.         }
  31.     }
  32.     return 1;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement