Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ქმნით pXelsackoebi,
- ამატებთ /buy ში
- {
- if(pInfo[playerid][pMoney] < bprice*2) return SCM(playerid, COLOR_WHITE, "[!] Ar gaqvt sakmarisi tanxa");
- pTemp[playerid][pXelsackoebi] = 1;
- GiveServerMoney(playerid, -bprice*2);
- SCM(playerid, COLOR_WHITE, "Tqven Sheidzinet Xelsackoebi");
- bInfo[GetPVarInt(playerid, "SelectedBizz")][bProfit] += bprice*2;
- }
- ამატებთ CMD.
- cmd:repair(playerid)
- {
- if(pTemp[playerid][pXelsackoebi] == 0) return SCM(playerid, COLOR_WHITE, "[!] Ar Gakvt Xelsackoebi");
- if(pTemp[playerid][HouseCar] != -1)
- {
- new Float:x, Float:y, Float:z;
- GetVehiclePos(pTemp[playerid][HouseCar], x, y, z);
- if(IsPlayerInRangeOfPoint(playerid, 3, x, y, z))
- {
- {
- SetPlayerAttachedObject(playerid, 2, 18635, 6, 0.086999, 0.036999, 0.0, 0.0, 0.0, 0.0, 0.010999, 0.009000, 0.085999);
- ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 6.1, 0, 0, 0, 0, 0, 1);
- SetTimerEx("Aketebs", 5000, false, "i", playerid);
- PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
- RepairVehicle(pTemp[playerid][HouseCar]);
- SetVehicleHealth(pTemp[playerid][HouseCar], 999.99);
- pTemp[playerid][pXelsackoebi] = 0;
- SCM(playerid, COLOR_RED, "Tkven Sheaketet Mankana !");
- }
- }
- else SCM(playerid, COLOR_WHITE, "[!] Ar Imkopebit Tkven Mankanastan Axlos");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement