Jump to content

Adrian FW

Membru
  • Posts

    37
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Adrian FW's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. `X` float NOT NULL DEFAULT 'coordonatele X', `Y` float NOT NULL DEFAULT 'coordonatele Y', `Z` float NOT NULL DEFAULT 'coordonatele Z', Cauta in baza de date `X` float NOT NULL DEFAULT
  2. Coordonatele le gasesti in Baza de date . Deschide baza de date in Notepad si cauta coordonatele CTRL+H
  3. https://imgur.com/a/wxzhJRB
  4. Nu apare textu '' Felicitari x ai primit cadou 100kk...etc , cand scriu comanda /bonus CMD:bonus(playerid, params []) { if(pInfo[playerid][pScore] > 1) return SendClientMessage(playerid, COLOR_DARKGRAY, "Ai primit deja bonusul de bun venit."); pInfo[playerid][pScore] += 4, SetPlayerScore(playerid, pInfo[playerid][pScore]), pInfo[playerid][pPremium] = gtm+(10*86400); GiveMoney(playerid, 100000000),pInfo[playerid][pSpinGift] += 10,pInfo[playerid][pDiamonds] += 500, format(stmsg[playerid], 166, "* Felicitari %s, ai primit cadou 100.000.000$ si Cont Premium valabil 10 zile, 10x spin si 500 diamonds.", GetName(playerid)); return 1; }
  5. CMD:fill(playerid, params []) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_DARKGRAY, "You're not in a vehicle."); if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_DARKGRAY, "You're not the driver."); if(vVar[3][pInfo[playerid][aVar][1]] >= 100) return SendClientMessage(playerid, COLOR_DARKGRAY, "The vehicle has a full tank."); if(pInfo[playerid][pGasCan] == 2 && (!(IsPlayerInRangeOfPoint(playerid, 6.9, 1004.3961,-939.5698,42.1797) || IsPlayerInRangeOfPoint(playerid, 8.9, 1942.3723,-1772.9437,13.6406) || IsPlayerInRangeOfPoint(playerid, 10.9, -91.8198,-1169.6456,2.4338) || IsPlayerInRangeOfPoint(playerid, 30.0, -1606.7369,-2713.9268,48.5391) || IsPlayerInRangeOfPoint(playerid, 40.0, 2202.2053,2475.7173,10.8203) || IsPlayerInRangeOfPoint(playerid, 60.0, 614.4914,1692.8192,7.1875) || IsPlayerInRangeOfPoint(playerid, 45.0, 2114.2112,920.2231,10.8203) || IsPlayerInRangeOfPoint(playerid, 40.0, 2146.8569,2747.8384,10.8203) || IsPlayerInRangeOfPoint(playerid, 15.0, -2244.1155,-2560.7141,31.9219) || IsPlayerInRangeOfPoint(playerid, 30.0, -1328.4288,2677.9236,50.0625) || IsPlayerInRangeOfPoint(playerid, 40.0, 2639.5413,1106.5266,10.8203) || IsPlayerInRangeOfPoint(playerid, 40.0, 1596.5918,2198.9167,10.8203) || IsPlayerInRangeOfPoint(playerid, 30.0, -1472.5554,1864.1527,32.6328) || IsPlayerInRangeOfPoint(playerid, 20.0, 655.6916,-565.3945,16.3359) || IsPlayerInRangeOfPoint(playerid, 20.0, 1381.3810,459.2968,20.3452)))) { if(vVar[3][pInfo[playerid][aVar][1]]+20 > 100) return SendClientMessage(playerid, COLOR_DARKGRAY, "Does not fit so much fuel in your tank."); vVar[3][pInfo[playerid][aVar][1]] += 20, pInfo[playerid][pGasCan] = 1, SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Vehicle filled up from Gas Can."); return 1; } if(!(IsPlayerInRangeOfPoint(playerid, 6.9, 1004.3961,-939.5698,42.1797) || IsPlayerInRangeOfPoint(playerid, 8.9, 1942.3723,-1772.9437,13.6406) || IsPlayerInRangeOfPoint(playerid, 10.9, -91.8198,-1169.6456,2.4338) || IsPlayerInRangeOfPoint(playerid, 30.0, -1606.7369,-2713.9268,48.5391) || IsPlayerInRangeOfPoint(playerid, 40.0, 2202.2053,2475.7173,10.8203) || IsPlayerInRangeOfPoint(playerid, 60.0, 614.4914,1692.8192,7.1875) || IsPlayerInRangeOfPoint(playerid, 45.0, 2114.2112,920.2231,10.8203) || IsPlayerInRangeOfPoint(playerid, 40.0, 2146.8569,2747.8384,10.8203) || IsPlayerInRangeOfPoint(playerid, 15.0, -2244.1155,-2560.7141,31.9219) || IsPlayerInRangeOfPoint(playerid, 30.0, -1328.4288,2677.9236,50.0625) || IsPlayerInRangeOfPoint(playerid, 40.0, 2639.5413,1106.5266,10.8203) || IsPlayerInRangeOfPoint(playerid, 40.0, 1596.5918,2198.9167,10.8203) || IsPlayerInRangeOfPoint(playerid, 30.0, -1472.5554,1864.1527,32.6328) || IsPlayerInRangeOfPoint(playerid, 20.0, 655.6916,-565.3945,16.3359) || IsPlayerInRangeOfPoint(playerid, 20.0, 1381.3810,459.2968,20.3452))) return SendClientMessage(playerid, COLOR_DARKGRAY, "You are not at the Gas Station."); if(pInfo[playerid][aVar][3] == 1) return 1; GetVehicleParamsEx(pInfo[playerid][aVar][1], vParams[0], vParams[1], vParams[2], vParams[3], vParams[4], vParams[5], vParams[6]); if(vParams[0] != 0) return SendClientMessage(playerid, COLOR_DARKGRAY, "You must stop your engine in order to refuel your vehicle."); GameTextForPlayer(playerid, "~w~re-fueling vehicle, please wait...", 5000, 3), pInfo[playerid][aVar][95] = 100-vVar[3][pInfo[playerid][aVar][1]]; pInfo[playerid][aVar][40] = SetTimerEx("Fillup", 13000, 0, "i", playerid), pInfo[playerid][aVar][3] = 1; return 1; } Ma poti ajuta si la aceasta ?
  6. Nu modifica fuel-ul la masini gen daca masina are 75% si dau /fuelcars e la fel CMD:fuelcars(playerid, params[]) { if(pInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_DARKGRAY, AdminError); for(new i = 0; i <= RLBike[10]; i++) vVar[3] = GasMax; format(AdminWText, sizeof(AdminWText), "AdmCmd: %s has filled all cars with fuel.", GetName(playerid)); SendAdminMessage(playerid, COLOR_ADMWARNING, AdminWText); return 1; }
  7. Nush frate , nu ma prea pricep . Mersi oricum
  8. https://imgur.com/a/K1jvXU9 - La fel
  9. Coordonatele le*am luat cu map editor
  10. Am creat comanda Bullhorn , sa imi ataseze de masina niste coarne . Dar nu apar . YCMD:bullhorn(playerid, params[], help) { if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_GREY, "Nu esti in vehiculul tau."); if(PersonalCar(playerid) == -1) return SCM(playerid, COLOR_LGREEN, "Eroare: Nu esti in unul dintre vehiculele tale personale!"); if(GetPlayerState(playerid) != 2) return SCM(playerid, COLOR_LGREEN, "* Trebuie sa fii la volan pentru a putea folosi aceasta comanda!"); if(PlayerInfo[playerid][pVip] == 1) return 1; if(!IsPlayerInAnyVehicle(playerid)) return 1; if(InRaceArena[playerid] == 1 && PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_LGREEN, "Nu ai voie sa folosesti aceasta comanda atata timp cat esti in arena de curse!"); new vehicleid = GetPlayerVehicleID(playerid); new object1 = CreateObject(19314, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); new object2 = CreateObject(19314, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AttachObjectToVehicle(object1, vehicleid, 206.44, 1767.66, 17.38,0.000000,0.000000,0.000000); AttachObjectToVehicle(object2, vehicleid, 206.44, 1767.66, 17.38,0.000000,0.000000,0.000000); SCM(playerid, COLOR_YELLOW, "Comanda executata cu succes."); return 1; }
  11. Ce drq sa creez , e Logo-ul de la sv Nu merge sa il compilez
  12. Nu prea le am la scripting . De 2h tot modific si nimic https://pastebin.com/p83hpuT1
  13. https://imgur.com/a/hdfCbQw https://pastebin.com/p83hpuT1
  14. Am rezolvat problema , dar coordonatele care le-am pus eu cu mapeditor nu sunt bune , trebuie coordonate offset . Si nu stiu cum sa le fac .
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.