Dagllas

Gun Lic

May 24th, 2022
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. if(IsPlayerInRangeOfPoint(playerid, 3.0, 1561.9099,-1673.8699,2110.5364))
  2. {
  3. if(PI[playerid][pGunDozvola] == true) return SendClientMessage(playerid,-1,""PPLAVA"(GRESKA) "BELA"Vec posedujes dozvolu za oruzije!");
  4. if(PI[playerid][pNovacDzep] < 5000) return SendClientMessage(playerid,-1,""PPLAVA"(GRESKA) "BELA"Nemas dovljno novac (5000$)!");
  5. PI[playerid][pGunDozvola] = true;
  6. sql_AccountInt(playerid, "GunDozvola",1);
  7. OduzmiNovac(playerid,5000);
  8. SendClientMessage(playerid,-1,""PPLAVA"(INFO) "BELA"Uspesno ste kupili dozvolu za oruzije(-5000$)!");
  9. }
Advertisement
Add Comment
Please, Sign In to add comment