Sari la conținut

Toată activitatea

Acest curent se actualizează automat     

  1. Ora trecută
  2. Body99

    Se vinde cont RPG2 B-Zone

    Salut ai dori 100 lei?
  3. Laurentiu.Lau

    Finally Gamemode blana bomba

    Unde e la estifondator, in pawno sau cum ajutama te rog
  4. Kiran

    /opencase .. help

    pai, ma gandesc ca tu ai nevoie de cutie si o cheie pentru a putea da /opencase, nu ti-ai setat numarul ala?
  5. BaFFyJunior

    Caut Comunitate pentru un server de samp

    www.hype-zone.ro , te asteptam.
  6. Azi
  7. mai bn faci asa new bool:anuntat = false; if(!isnull(inputtext)) { for(new _pos; inputtext[_pos] > 0; _pos++) { if(inputtext[_pos] == '%') { inputtext[_pos] = '#'; if(!anuntat) { SendClientMessage(playerid, -1, "Info: {FFFFFF}Au fost detectate caractere invalide! Acestea au fost automat eliminate!"); anuntat = true; } } } } mult mai ok.
  8. Am o problema cu codurile pentru poarta, sa se deschida si pe urma sa se inchida. Am urmarit tutorial lui WiDuAlK, daca sunteti la inceput de drum va recomand sa urmariti tutorialele lui, chiar m au ajutat mult, m am folosit de tutorialul pentru factiuni si am ajuns la partea cu poarta. Am motificat ce trebuie, pus unde trebuie, dar imi apar multe erori: C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(686) : error 055: start of function body without function header C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(688) : error 010: invalid function or declaration C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(690) : error 055: start of function body without function header C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(692) : error 010: invalid function or declaration C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(694) : error 055: start of function body without function header C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(696) : error 010: invalid function or declaration C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(702) : error 055: start of function body without function header C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(704) : error 021: symbol already defined: "MoveObject" C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(714) : error 021: symbol already defined: "SetTimer" C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(716) : error 021: symbol already defined: "SendClientMessage" C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(718) : error 054: unmatched closing brace ("}") C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(720) : error 054: unmatched closing brace ("}") C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(722) : error 054: unmatched closing brace ("}") C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(724) : error 010: invalid function or declaration C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(726) : error 054: unmatched closing brace ("}") C:\Users\eSrYu\Desktop\server samp\gamemodes\gm.pwn(750) : error 010: invalid function or declaration Codul este: { if (newkeys & KEY_CROUCH ) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { if(IsPlayerInRangeOfPoint(playerid, 15, 1588.5, -1637.8, 13.6) { MoveObject(GatePD1, 1588.6, -1638.0, 6.9, 5.0, 0.00000, 0.00000, 0.00000); SetTimer("MoveGatePd1",5000,0); SendClientMessage(playerid,-1,"Ai deschis poarta 5 secunde!"); } } } return 1; } forward MoveGatePd1(); public MoveGatePd1() { MoveObject(GatePD1,1588.5, -1637.8, 13.6, 5.0, 0.00000, 0.00000, 0.00000); return 1; } Inainte de asta am mai facut si partea cu intrarile, de afara in politie, in sala, etc, tot dupa tutorialul acesta. https://www.sa-mp.ro/forums/topic/20538-cum-sa-creezi-o-noua-factiune-de-la-0part-1/ Acesta este link-ul de la partea 1. Toate merg ca pe roate, aici m am blocat. Am facut si prin CMD sa se deschida poarta, dar altfel ii cand apesi un buton. Sper sa fie o rezolvare si multumesc anticipat!
  9. Iulian2

    /opencase .. help

    https://pastebin.com/D886DBga
  10. #Yudin

    Am nevoie de noi comenzii

    Ce functii trebuie sa indeplineasca aceste comenzi?
  11. Erik.

    Vehicule

    uitati linia...
  12. Erik.

    Vehicule

    Deci pe gm meu am inerdictia ca daca nu ai permis nu poti intra in vehicul, dar cand ma indepartez putin de vehicul ma lasa sa intru in el.De ce? Lucrez pe GM BIGZONE
  13. Narkis108

    Am nevoie de noi comenzii

    //Asta poti sa o pui pe la inceput new EnabledSpeed [ MAX_PLAYERS ]; //Asta in OnPlayerConnect public OnPlayerConnect(playerid) { EnabledSpeed [ playerid ] = 0; //Asta o bagi in OnPlayerKeyStateChange if(EnabledSpeed [ playerid ] == 1 && PlayerInfo[playerid][pAdmin] >= 5) { if(newkeys & KEY_FIRE && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { new Float:x, Float:y, Float:z; GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z); SetVehicleVelocity(GetPlayerVehicleID(playerid), x * 3, y * 3, z * 3); } Sper ca te-am ajutat
  14. Narkis108

    Caut Comunitate pentru un server de samp

    Te asteptam pe HeatGaming.ro ❤️
  15. Robbiekan86

    Gamemode BURNED edit v2

    Mane, salut.Am o problema , nu mi se salveaza orele la payday si nu le calculeaza in joc, nu stiu cum sa o rezolv, ma poti ajuta te rog? @SkillZ_IT.
  16. Ieri
  17. Salut! Caut o cumunitate pentru serverul meu de samp. (nu este host gratis sau ceva)
  18. Stefano

    bug la textdraw gm burned

    ma ajuta cineva?
  19. czm

    Gamemode Briston

    kiran ai dreptate :)))
  20. Body99

    Cont de LOL

    Vand cont de lol level 79,in jur de 50 de skinuri am aproape project-urile toate,level 7 pe(yasuo,master yi,garen,zed....).Astept oferte.
  21. Body99

    Vand cont SA:MP // B-Zone RPG 2

    Macar raspunde.mi cu dau sau nu ca sa stiu.
  22. Body99

    Vand cont SA:MP // B-Zone RPG 2

    Salut ai dori 100 sau 150?
  23. Body99

    Vand cont / avere RPG2.B-ZONE.RO

    Salut,cat doresti?
  24. MFxx

    Vand Gamemode / Panel Shawn

    pm cu pretu
  25. Stefano

    bug la textdraw gm burned

    YCMD:buycar(playerid, params[], help) { if(PlayerInfo[playerid][pLevel] < 3) return SCM(playerid, COLOR_GREY, "Nu ai nivel 3!"); if(!PlayerToPoint(3.0,playerid,326.9715,-1514.7264,36.0325)) return SCM(playerid, COLOR_GREY, "Nu esti la dealership."); if(TestingModel[playerid] == 1) return 1; if(PlayerInfo[playerid][pWantedLevel] > 0) return SCM(playerid, -1, "Ai wanted, nu poti folosi aceasta comanda!"); new x=0, dbID[180], szQuery[256]; format(szQuery, sizeof(szQuery), "SELECT * FROM `dsveh`"); new Cache: result = mysql_query(SQL, szQuery); for(new i, j = cache_get_row_count (); i != j; ++i) { cache_get_field_content(i, "ID", dbID); x++; SelectedCar[playerid][x] = strval(dbID); LastDealerCar[playerid] = strval(dbID); } cache_delete(result); TestingModel[playerid] = 0; TotalDealerCars[playerid] = x; DealerCarType[playerid] = 1; InDealer[playerid] = 1; TogglePlayerControllable(playerid, 0); SetPlayerVirtualWorld(playerid, playerid+1); SetPlayerInterior(playerid, 0); SetPlayerPosEx(playerid, -2329.9380, 185.0620, 37.8267); DealerID[playerid] = 1; DealerCarColor1[playerid] = 1; DealerCarColor2[playerid] = 1; DealerCarAngle[playerid] = -61.3200; DealerCar[playerid] = CreateVehicleEx(DSModels[DealerID[playerid]][dModel],-2472.2488, 2235.5156, 4.6536,DealerCarAngle[playerid],DealerCarColor1[playerid],DealerCarColor2[playerid],-1); SetVehicleVirtualWorld(DealerCar[playerid],playerid+1); LinkVehicleToInterior(DealerCar[playerid], 0); PutPlayerInVehicleEx(playerid, DealerCar[playerid], 0); new string[128]; format(string, sizeof(string), "Color 1: %d~n~Color 2: %d", DealerCarColor1[playerid], DealerCarColor2[playerid]); PlayerTextDrawSetString(playerid, DSTds[4], string); PlayerTextDrawShow(playerid, DSTds[4]); PlayerTextDrawSetPreviewModel(playerid, DSTds[2], DSModels[DealerID[playerid]][dModel]); PlayerTextDrawSetPreviewModel(playerid, DSTds[2], DSModels[DealerID[playerid]][dModel]); PlayerTextDrawSetPreviewVehCol(playerid, DSTds[2], DealerCarColor1[playerid], DealerCarColor2[playerid]); PlayerTextDrawShow(playerid, DSTds[2]); ShowDealershipTextdraws(playerid); SelectTextDraw(playerid, 0x2EA1FFFF); ShowCamera(playerid); return 1; }YCMD:buycar(playerid, params[], help) { if(PlayerInfo[playerid][pLevel] < 3) return SCM(playerid, COLOR_GREY, "Nu ai nivel 3!"); if(!PlayerToPoint(3.0,playerid,326.9715,-1514.7264,36.0325)) return SCM(playerid, COLOR_GREY, "Nu esti la dealership."); if(TestingModel[playerid] == 1) return 1; if(PlayerInfo[playerid][pWantedLevel] > 0) return SCM(playerid, -1, "Ai wanted, nu poti folosi aceasta comanda!"); new x=0, dbID[180], szQuery[256]; format(szQuery, sizeof(szQuery), "SELECT * FROM `dsveh`"); new Cache: result = mysql_query(SQL, szQuery); for(new i, j = cache_get_row_count (); i != j; ++i) { cache_get_field_content(i, "ID", dbID); x++; SelectedCar[playerid][x] = strval(dbID); LastDealerCar[playerid] = strval(dbID); } cache_delete(result); TestingModel[playerid] = 0; TotalDealerCars[playerid] = x; DealerCarType[playerid] = 1; InDealer[playerid] = 1; TogglePlayerControllable(playerid, 0); SetPlayerVirtualWorld(playerid, playerid+1); SetPlayerInterior(playerid, 0); SetPlayerPosEx(playerid, -2329.9380, 185.0620, 37.8267); DealerID[playerid] = 1; DealerCarColor1[playerid] = 1; DealerCarColor2[playerid] = 1; DealerCarAngle[playerid] = -61.3200; DealerCar[playerid] = CreateVehicleEx(DSModels[DealerID[playerid]][dModel],-2472.2488, 2235.5156, 4.6536,DealerCarAngle[playerid],DealerCarColor1[playerid],DealerCarColor2[playerid],-1); SetVehicleVirtualWorld(DealerCar[playerid],playerid+1); LinkVehicleToInterior(DealerCar[playerid], 0); PutPlayerInVehicleEx(playerid, DealerCar[playerid], 0); new string[128]; format(string, sizeof(string), "Color 1: %d~n~Color 2: %d", DealerCarColor1[playerid], DealerCarColor2[playerid]); PlayerTextDrawSetString(playerid, DSTds[4], string); PlayerTextDrawShow(playerid, DSTds[4]); PlayerTextDrawSetPreviewModel(playerid, DSTds[2], DSModels[DealerID[playerid]][dModel]); PlayerTextDrawSetPreviewModel(playerid, DSTds[2], DSModels[DealerID[playerid]][dModel]); PlayerTextDrawSetPreviewVehCol(playerid, DSTds[2], DealerCarColor1[playerid], DealerCarColor2[playerid]); PlayerTextDrawShow(playerid, DSTds[2]); ShowDealershipTextdraws(playerid); SelectTextDraw(playerid, 0x2EA1FFFF); ShowCamera(playerid); return 1; } YCMD:buycar(playerid, params[], help) { if(PlayerInfo[playerid][pLevel] < 3) return SCM(playerid, COLOR_GREY, "Nu ai nivel 3!"); if(!PlayerToPoint(3.0,playerid,326.9715,-1514.7264,36.0325)) return SCM(playerid, COLOR_GREY, "Nu esti la dealership."); if(TestingModel[playerid] == 1) return 1; if(PlayerInfo[playerid][pWantedLevel] > 0) return SCM(playerid, -1, "Ai wanted, nu poti folosi aceasta comanda!"); new x=0, dbID[180], szQuery[256]; format(szQuery, sizeof(szQuery), "SELECT * FROM `dsveh`"); new Cache: result = mysql_query(SQL, szQuery); for(new i, j = cache_get_row_count (); i != j; ++i) { cache_get_field_content(i, "ID", dbID); x++; SelectedCar[playerid][x] = strval(dbID); LastDealerCar[playerid] = strval(dbID); } cache_delete(result); TestingModel[playerid] = 0; TotalDealerCars[playerid] = x; DealerCarType[playerid] = 1; InDealer[playerid] = 1; TogglePlayerControllable(playerid, 0); SetPlayerVirtualWorld(playerid, playerid+1); SetPlayerInterior(playerid, 0); SetPlayerPosEx(playerid, -2329.9380, 185.0620, 37.8267); DealerID[playerid] = 1; DealerCarColor1[playerid] = 1; DealerCarColor2[playerid] = 1; DealerCarAngle[playerid] = -61.3200; DealerCar[playerid] = CreateVehicleEx(DSModels[DealerID[playerid]][dModel],-2472.2488, 2235.5156, 4.6536,DealerCarAngle[playerid],DealerCarColor1[playerid],DealerCarColor2[playerid],-1); SetVehicleVirtualWorld(DealerCar[playerid],playerid+1); LinkVehicleToInterior(DealerCar[playerid], 0); PutPlayerInVehicleEx(playerid, DealerCar[playerid], 0); new string[128]; format(string, sizeof(string), "Color 1: %d~n~Color 2: %d", DealerCarColor1[playerid], DealerCarColor2[playerid]); PlayerTextDrawSetString(playerid, DSTds[4], string); PlayerTextDrawShow(playerid, DSTds[4]); PlayerTextDrawSetPreviewModel(playerid, DSTds[2], DSModels[DealerID[playerid]][dModel]); PlayerTextDrawSetPreviewModel(playerid, DSTds[2], DSModels[DealerID[playerid]][dModel]); PlayerTextDrawSetPreviewVehCol(playerid, DSTds[2], DealerCarColor1[playerid], DealerCarColor2[playerid]); PlayerTextDrawShow(playerid, DSTds[2]); ShowDealershipTextdraws(playerid); SelectTextDraw(playerid, 0x2EA1FFFF); ShowCamera(playerid); return 1; }
  26. Sunt metode mai moderne ca serverul sa pice chiar daca nu folosim % , ceea ce ai aratat e cea mai simpla modalitate
  27. #Yudin

    bug la textdraw gm burned

    Ceva cod/afisari td?
  28. #Yudin

    [Tutorial] Sistema de apreciere server

    De asta tu nu ai nevoie dar altul poate are,fiecare cu gusturile si parerile sale😉
  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.