Advertisement
Guest User

Xelsackoebis System

a guest
Apr 10th, 2020
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. ქმნით pXelsackoebi,
  2. ამატებთ /buy ში
  3. {
  4. if(pInfo[playerid][pMoney] < bprice*2) return SCM(playerid, COLOR_WHITE, "[!] Ar gaqvt sakmarisi tanxa");
  5. pTemp[playerid][pXelsackoebi] = 1;
  6. GiveServerMoney(playerid, -bprice*2);
  7. SCM(playerid, COLOR_WHITE, "Tqven Sheidzinet Xelsackoebi");
  8. bInfo[GetPVarInt(playerid, "SelectedBizz")][bProfit] += bprice*2;
  9. }
  10. ამატებთ CMD.
  11. cmd:repair(playerid)
  12. {
  13. if(pTemp[playerid][pXelsackoebi] == 0) return SCM(playerid, COLOR_WHITE, "[!] Ar Gakvt Xelsackoebi");
  14. if(pTemp[playerid][HouseCar] != -1)
  15. {
  16. new Float:x, Float:y, Float:z;
  17. GetVehiclePos(pTemp[playerid][HouseCar], x, y, z);
  18. if(IsPlayerInRangeOfPoint(playerid, 3, x, y, z))
  19. {
  20. {
  21. SetPlayerAttachedObject(playerid, 2, 18635, 6, 0.086999, 0.036999, 0.0, 0.0, 0.0, 0.0, 0.010999, 0.009000, 0.085999);
  22. ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 6.1, 0, 0, 0, 0, 0, 1);
  23. SetTimerEx("Aketebs", 5000, false, "i", playerid);
  24. PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
  25. RepairVehicle(pTemp[playerid][HouseCar]);
  26. SetVehicleHealth(pTemp[playerid][HouseCar], 999.99);
  27. pTemp[playerid][pXelsackoebi] = 0;
  28. SCM(playerid, COLOR_RED, "Tkven Sheaketet Mankana !");
  29. }
  30. }
  31. else SCM(playerid, COLOR_WHITE, "[!] Ar Imkopebit Tkven Mankanastan Axlos");
  32. }
  33. return 1;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement