Guest User

OnPlayerLogin

a guest
Jun 13th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.83 KB | None | 0 0
  1. if(PI[playerid][pReg] == 0)
  2.         {
  3.             PI[playerid][pLevel] = 1;
  4.             PI[playerid][pSHealth] = 0.0;
  5.             PI[playerid][pHealth] = 50.0;
  6.             /*PI[playerid][pPozicijaX] = 1642.1586;
  7.             PI[playerid][pPozicijaY] = -2334.9641;
  8.             PI[playerid][pPozicijaZ] = 13.5469;*/
  9.             PI[playerid][pPos_x] = 1642.1586;
  10.             PI[playerid][pPos_y] = -2334.9641;
  11.             PI[playerid][pPos_z] = 13.5469;
  12.             PI[playerid][pInt] = 0;
  13.             PI[playerid][pLocal] = 255;
  14.             PI[playerid][pTeam] = 3;
  15.             PI[playerid][pModel] = 135;
  16.             new randphone = 100000 + random(899999);//minimum 1000  max 9999 //giving one at the start
  17.             PI[playerid][pPnumber] = randphone;
  18.             PI[playerid][pPhousekey] = 2555;
  19.             PI[playerid][pPstankey] = 255;
  20.             PI[playerid][pPcarkey] = 9999;
  21.             PI[playerid][pPcarkey2] = 9999;
  22.             PI[playerid][pPcarkey3] = 9999;
  23.             PI[playerid][pPcarkey4] = 9999;
  24.             PI[playerid][pPbiskey] = 255;
  25.             PI[playerid][pUlica] = 255;
  26.             PI[playerid][pPosiguranje] = 5;
  27.             //PI[playerid][pAccount] += 10000;
  28.             PI[playerid][pReg] = 1;
  29.             PI[playerid][pWalk] = 1;
  30.             PI[playerid][pConnectTime] = 1;
  31.             PI[playerid][pCrimes] = 1;
  32.             //JBC_GivePlayerMoney(playerid, 10000);
  33.         }
  34.         if(PI[playerid][pLocked] == 1) // Auto-kick
  35.         {
  36.             SendClientMessage(playerid, COLOR_LIGHTRED, "Vas account je zatvoren ,ako mislite da vam je zatvoren bez razloga molimo napisite na SUPPORT !!!");
  37.             //SendClientMessage(playerid, COLOR_LIGHTRED, "Da otvorite ovaj account ,mozete unbanovati u opstini preko admin panela na salteru ,ali to nije potrebno.");
  38.             //SendClientMessage(playerid, COLOR_LIGHTRED, "Registrujte novi nalog ,zaradite 500 k i otkljucajte svoj account automatski,ili pitajte prijatejla da vam otkljuca.");
  39.             Kick(playerid);
  40.         }
  41.         if(PI[playerid][pLevel] == -999) //autoban
  42.         {
  43.             Ban(playerid);
  44.         }
  45.         else if(PI[playerid][pCK] > 0)
  46.         {
  47.             Kick(playerid);
  48.         }
Advertisement
Add Comment
Please, Sign In to add comment