Sari la conținut

Toată activitatea

Acest curent se actualizează automat     

  1. Ora trecută
  2. Andes Official

    Caut scripter/web-master

    Recomand @EraSy @LeonardPWN Sau @Lunoxx or @Kraim @Uzzi25 Official
  3. K0vrigel

    Speedometer gen nephrite.

    Salut,astazi o sa va invat cum sa faceti un speedometer gen nephrite. Arata cam asa: (!) EU AM LUCRAT PE GAMEMODE-UL BLUFFS,AL LUI @Ionut_WS SI NU STIU DACA TEXTDRAW-URILE SE NUMESC LA FEL PE ORICE GAMEMODE!! Deci,sa incepem. Prima data vom cauta in gamemode: PlayerText:Speedd[MAX_PLAYERS] Si o vom inlocui cu: PlayerText:Speedd[MAX_PLAYERS][2] Q:DE CE? A:Ei bine,vom folosi 2 textdraw-uri de speed pentru acest speedometer. Apoi mergem la: public OnPlayerStateChange si cautam la: if(newstate == PLAYER_STATE_ONFOOT) PlayerTextDrawHide(playerid, Speedd[playerid]); Vom copia asta si o vom inlocui cu: PlayerTextDrawHide(playerid, Speedd[playerid][0]); PlayerTextDrawHide(playerid, Speedd[playerid][1]); Q:De ce am pus 0,1? A:Deoarece numerotarea incepe de la 0 si de oarece sunt 2 textdraw-uri folosim 0,1. Acum vom merge mai departe,la public Checkvehinfo() mai exact la: if(GetPlayerState(i) == PLAYER_STATE_DRIVER) Vom gasi ceva de genul: PlayerTextDrawShow(i, Speedd[i]); format(str1,sizeof(str1),"Speed:~r~%d km/h",spe); PlayerTextDrawSetString(i, Speedd[i], str1); Inlocuim cu: PlayerTextDrawShow(i, Speedd[i][0]); format(str1,sizeof(str1),"~r~%d",spe); PlayerTextDrawSetString(i, Speedd[i][0], str1); PlayerTextDrawShow(i, Speedd[i][1]); format(str1,sizeof(str1),"km/h"); PlayerTextDrawSetString(i, Speedd[i][1], str1); Apoi,mergem putin mai jos la: if(GetPlayerState(i) == PLAYER_STATE_PASSENGER) Punem aceasi chestie pe care v-am dat-o mai sus. Dam scroll down putin pana gasim: PlayerTextDrawHide(i, Speedd[i]); Inlocuim cu: PlayerTextDrawHide(i, Speedd[i][0]); PlayerTextDrawHide(i, Speedd[i][1]); Asta a fost tutorialul,mai jos aveti textdraw-urile: Speedd[playerid][0] = CreatePlayerTextDraw(playerid, 522.000000, 354.743041, "~r~200"); PlayerTextDrawLetterSize(playerid, Speedd[playerid][0], 0.400000, 1.600000); PlayerTextDrawAlignment(playerid, Speedd[playerid][0], 1); PlayerTextDrawColor(playerid, Speedd[playerid][0], -1); PlayerTextDrawSetShadow(playerid, Speedd[playerid][0], 0); PlayerTextDrawSetOutline(playerid, Speedd[playerid][0], 1); PlayerTextDrawBackgroundColor(playerid, Speedd[playerid][0], 255); PlayerTextDrawFont(playerid, Speedd[playerid][0], 3); PlayerTextDrawSetProportional(playerid, Speedd[playerid][0], 1); PlayerTextDrawSetShadow(playerid, Speedd[playerid][0], 0); Speedd[playerid][1] = CreatePlayerTextDraw(playerid, 551.500000, 358.622344, "km/h"); PlayerTextDrawLetterSize(playerid, Speedd[playerid][1], 0.270500, 1.183109); PlayerTextDrawAlignment(playerid, Speedd[playerid][1], 1); PlayerTextDrawColor(playerid, Speedd[playerid][1], -1); PlayerTextDrawSetShadow(playerid, Speedd[playerid][1], 0); PlayerTextDrawSetOutline(playerid, Speedd[playerid][1], 1); PlayerTextDrawBackgroundColor(playerid, Speedd[playerid][1], 255); PlayerTextDrawFont(playerid, Speedd[playerid][1], 2); PlayerTextDrawSetProportional(playerid, Speedd[playerid][1], 1); PlayerTextDrawSetShadow(playerid, Speedd[playerid][1], 0); Fuell[playerid] = CreatePlayerTextDraw(playerid, 521.500000, 372.311126, "Fuel: 100 l"); PlayerTextDrawLetterSize(playerid, Fuell[playerid], 0.292000, 1.295110); PlayerTextDrawAlignment(playerid, Fuell[playerid], 1); PlayerTextDrawColor(playerid, Fuell[playerid], -1); PlayerTextDrawSetShadow(playerid, Fuell[playerid], 0); PlayerTextDrawSetOutline(playerid, Fuell[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Fuell[playerid], 255); PlayerTextDrawFont(playerid, Fuell[playerid], 2); PlayerTextDrawSetProportional(playerid, Fuell[playerid], 1); PlayerTextDrawSetShadow(playerid, Fuell[playerid], 0); Odom[playerid] = CreatePlayerTextDraw(playerid, 521.000000, 385.377716, "Odometer: 10.000 km"); PlayerTextDrawLetterSize(playerid, Odom[playerid], 0.251000, 1.351111); PlayerTextDrawAlignment(playerid, Odom[playerid], 1); PlayerTextDrawColor(playerid, Odom[playerid], -1); PlayerTextDrawSetShadow(playerid, Odom[playerid], 0); PlayerTextDrawSetOutline(playerid, Odom[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Odom[playerid], 255); PlayerTextDrawFont(playerid, Odom[playerid], 2); PlayerTextDrawSetProportional(playerid, Odom[playerid], 1); PlayerTextDrawSetShadow(playerid, Odom[playerid], 0); carlocked[playerid] = CreatePlayerTextDraw(playerid, 522.000000, 397.822265, "LOCKED"); PlayerTextDrawLetterSize(playerid, carlocked[playerid], 0.280000, 1.375999); PlayerTextDrawAlignment(playerid, carlocked[playerid], 1); PlayerTextDrawColor(playerid, carlocked[playerid], -1); PlayerTextDrawSetShadow(playerid, carlocked[playerid], 0); PlayerTextDrawSetOutline(playerid, carlocked[playerid], 1); PlayerTextDrawBackgroundColor(playerid, carlocked[playerid], 255); PlayerTextDrawFont(playerid, carlocked[playerid], 2); PlayerTextDrawSetProportional(playerid, carlocked[playerid], 1); PlayerTextDrawSetShadow(playerid, carlocked[playerid], 0); DACA AVETI INTREBARI LE PUTETI LASA IN SECTIUNEA DE COMENTARII!
  4. Andes Official

    Ofer site nisa samp spre adminstrare

    Imediat dau add pe lol eune !
  5. AlwaysGoLl

    /startquest

    Mama... daca nici mura in gura nu stii sa faci... lasa-te..
  6. K0vrigel

    Textdraw, gen T4P.

    Sincer,nu e stie cine ce,il gasesti in majoritatea gamemode-urilor...
  7. Azi
  8. RebornAdv

    Textdraw, gen T4P.

    Ma refer la textdraw cel vechi, acuma au ceva nou.
  9. RebornAdv

    Textdraw, gen T4P.

    Salut, astazi vreau sa va prezint un textdraw gen T4P. E facut de mine. Uita-ti poza. https://imgur.com/a/sDGIDlQ Iar sursa https://pastebin.com/H1CjaJFn Instalare: puneti in gamemode: new PlayerText:TextLogo[MAX_PLAYERS]; dupa va duceti la OnPlayerClickTextDraw si puneti: PlayerTextDrawShow(playerid, TextLogo[playerid]); format(str2,sizeof(str2),"%s / RPG.MYSERVER.RO", PlayerInfo[playerid][pNormalName]); PlayerTextDrawSetString(playerid, TextLogo[playerid], str2); iar dupa va duceti la OnPlayerConnect si puneti sursa de mai sus care e in pastebin.com Iar dupa va duceti la OnPlayerLogin si adaugati: PlayerTextDrawShow(playerid, TextLogo[playerid]); format(str2,sizeof(str2),"%s / RPG.MYSERVER.RO", PlayerInfo[playerid][pNormalName]); PlayerTextDrawSetString(playerid, TextLogo[playerid], str2); Nu chiar se intelege ce am scris.
  10. K0hL

    /startquest

    C:\Users\Vlad\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20021) : warning 217: loose indentation C:\Users\Vlad\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20021) : error 029: invalid expression, assumed zero C:\Users\Vlad\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20022) : warning 217: loose indentation C:\Users\Vlad\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20022) : error 029: invalid expression, assumed zero C:\Users\Vlad\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20022) : warning 215: expression has no effect C:\Users\Vlad\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20022) : error 001: expected token: ";", but found ")" C:\Users\Vlad\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20022) : error 029: invalid expression, assumed zero C:\Users\Vlad\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20022) : fatal error 107: too many error messages on one line CMD:startquest(playerid, params[]) { if(!PlayerToPoint(5.0, playerid, 181.6313,-1868.3856,2.9981)) { SCM(playerid, -1, "{F03A3A}Summer Quest {FFFFFF} Ti-a fost setat un checkpoint catre locatia potrivita."); CP[playerid] = 53; SetPlayerCheckpoint(playerid, 181.6313,-1868.3856,2.9981, 1.0); return 1; } if(PlayerInfo[playerid][pBoatLic] == 0) return SCM(playerid, COLOR_GREEN, "Eroare: Ai nevoie de o licenta de navigare!"); questVehicle = CreateVehicle(446, 199.6847, -1934.8583, -0.3829, 180.7395, -1, -1, 300); PutPlayerInVehicle(playerid, questVehicle, 0); return 1; }
  11. FeVosFeR

    [CERERE] Admin TAG

    Imi da multe erori... Dai si mie toata functia?
  12. Ionut_WS

    Problema schimbare Odometer, fuel

    Fuell[playerid] = CreatePlayerTextDraw(playerid, 523.200256, 362.879974, " "); PlayerTextDrawLetterSize(playerid, Fuell[playerid], 0.340399, 1.383466); PlayerTextDrawAlignment(playerid, Fuell[playerid], 1); PlayerTextDrawColor(playerid, Fuell[playerid], -1); PlayerTextDrawSetShadow(playerid, Fuell[playerid], 0); PlayerTextDrawSetOutline(playerid, Fuell[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Fuell[playerid], 51); PlayerTextDrawFont(playerid, Fuell[playerid], 1); PlayerTextDrawSetProportional(playerid, Fuell[playerid], 1); Speedd[playerid] = CreatePlayerTextDraw(playerid, 523.199707, 347.946960, " "); PlayerTextDrawLetterSize(playerid, Speedd[playerid], 0.295599, 1.562666); PlayerTextDrawAlignment(playerid, Speedd[playerid], 1); PlayerTextDrawColor(playerid, Speedd[playerid], -1); PlayerTextDrawSetShadow(playerid, Speedd[playerid], 0); PlayerTextDrawSetOutline(playerid, Speedd[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Speedd[playerid], 51); PlayerTextDrawFont(playerid, Speedd[playerid], 1); PlayerTextDrawSetProportional(playerid, Speedd[playerid], 1); Odom[playerid] = CreatePlayerTextDraw(playerid, 523.200073, 374.826629, " "); PlayerTextDrawLetterSize(playerid, Odom[playerid], 0.263599, 1.473066); PlayerTextDrawAlignment(playerid, Odom[playerid], 1); PlayerTextDrawColor(playerid, Odom[playerid], -1); PlayerTextDrawSetShadow(playerid, Odom[playerid], 0); PlayerTextDrawSetOutline(playerid, Odom[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Odom[playerid], 51); PlayerTextDrawFont(playerid, Odom[playerid], 1); PlayerTextDrawSetProportional(playerid, Odom[playerid], 1); carlocked[playerid] = CreatePlayerTextDraw(playerid, 524.799926, 388.266754, " "); PlayerTextDrawLetterSize(playerid, carlocked[playerid], 0.330000, 1.338666); PlayerTextDrawAlignment(playerid, carlocked[playerid], 1); PlayerTextDrawColor(playerid, carlocked[playerid], -1); PlayerTextDrawSetShadow(playerid, carlocked[playerid], 0); PlayerTextDrawSetOutline(playerid, carlocked[playerid], 1); PlayerTextDrawBackgroundColor(playerid, carlocked[playerid], 51); PlayerTextDrawFont(playerid, carlocked[playerid], 1); PlayerTextDrawSetProportional(playerid, carlocked[playerid], 1);
  13. Aragorn.

    Problema schimbare Odometer, fuel

    cum le pot inlocuii? daca ai tu textdraw-urile ca se pot gasii in orice gm, mi le poti da aici si eu decat le pun
  14. Ionut_WS

    Problema schimbare Odometer, fuel

    trebuie sa inlocuiesti textdraw-urile si probabil sa pui speed/km/fuel la locul lor in textdraw
  15. Aragorn.

    Problema schimbare Odometer, fuel

    Salut, de multa vreme ma chinui sa schimb un amarat de kilometraj adica gen il am pe asta actual https://imgur.com/a/3qmf323 si eu vreau sa schimb kilometrajul actual in https://imgur.com/a/4pSwQG9 adica sa fie unul aranjat , am dat si copy-paste din alte gm uri .. tot nu merge.. ce trebuie sa fac?
  16. SiploNN

    Vand GameMode PlayNion

    Vreau sa cumpar acasa GM. Cum dai de tine? Demi add pe discord: Siplon#7667
  17. Marlboro

    /startquest

    Arr fii prea culmea 😂 am zis si in cometariu "poftim un exemplu"
  18. Ieri
  19. MyhayADV

    /startquest

    acum o sa iti zica ca nu e bn ca da erori ca nu are alea definite :)))))
  20. Ionut_WS

    Gamemode Bluffs

    faci mai multe, ia un exmeplu cum se da admin/helper si incearca sa faci mai multe, ideea e ca degeaba adaugi mai multi manageri daca nu le creezi si functionalitati
  21. Keny

    Gamemode Bladex + Panel

    Cum pot sa scot panelul din mentenanta ?
  22. Keny

    Gamemode Bluffs

    Cum pot sa fac mai multe ?
  23. Ionut_WS

    Gamemode Bluffs

    sunt facute alea cu bani/pp/admin/helper ai nevoie de admin level 7, ala e maxim, le gasesti in owner panel si de acolo poti pleca cu mai multe
  24. Uktss

    Gamemode Bladex + Panel

    Sext +1
  1. Încarcă mai multă activitate
×

Informații Importante

Acest site foloseşte cookie–uri. Prin continuarea navigării, eşti de acord cu modul de utilizare a acestor informaţii. Pentru mai multe detalii, vezi Termeni de Utilizare și Politică Intimitate.