Sari la conținut

BaFFyJunior

Membru
  • Număr conținut

    25
  • Înregistrat

  • Ultima Vizită

Reputație Comunitate

0 Neutru

Despre BaFFyJunior

  • Rang
    Membru

Profile Information

  • Sex
    Masculin
  • Name in game
    BaFFy
  • Level of knowledge
    Mediu

Vizitatori Recenți Profil

Blocul vizitatori recenți este dezactivat și nu este arătat altor utilizatori.

  1. BaFFyJunior

    De ce nu mi se importeaza gamemodul pe ultrahost (e host free btw )

    Incarca serverul cu FileZilla(urca-l pe host), apoi du-te in server.cfg, vezi ce gamemode ti-e pus, daca e pus cel bun, apoi la filterscripts pune U-host sau ceva de genul sau Ultra-H(gasesti tu la filterscripts), apoi in numele serverului pune tagul [Ultra-H.com], spre exemplu Numele[Ultra-H.com]. Si dupa toate acestea da un restart de pe host.
  2. BaFFyJunior

    Romania National Trucking(0.1)

    Multumesc! Te asteptam cu drag.
  3. BaFFyJunior

    Romania National Trucking(0.1)

    Se lucreaza in momentul de fata la design.
  4. BaFFyJunior

    Romania National Trucking(0.1)

    Detalii server/Server Details: Owneri/Owners: Sami/blacklife Mod/Mode: Trucking Harta/Map: San Andreas/New maps DNS: rnt.hype-zone.ro:7777 IP: 193.84.64.67:7777 Record jucatori/Players record: 66/75. (26 iulie 2017/26 July 2017) Sistemele serverului/Server Systems: Sistem case dinamice/Dynamic house system. Sistem Administratori/Admin System. Sistem playeri VIP(helperi)/V.I.P(helpers) System. Sistem al statisticilor jucatorului/Player Statistics System. Sistem realizari/Achievements System. Sistem mesaje private/Private Messages System. Sistem animatii/Animations System. Sistem reguli/Rules System. Sistem inregistrare-conectare/Login-Register System. Sistem anti-flood/Anti-Flood System. Sistem ban/Ban System. Sistem kick/Kick System. Sistem anti-spam/Anti-Spam System. Sistem ignorare mesaje personale/Ignores System. Sistem flip/Flip System. Sistem rankuri(ale joburilor)/Ranks System. Sistem comenzi/Commands System. Sistem top/Top System. Sistem jail(inchisoare)/Jail System. Sistem freeze/Freeze System. Sistem avertismente/Warnings System. Sistem de record al jucatorilor/Record System Sistem Radio/Radio System etc. Sistem Limba(RO/EN)/Language System etc. Recordul serverului/Server Record: Imagini cu sistemele si comenzile/Photos with Systems and Commands: Sistem case dinamice/Dynamic house system: General Commands: /gohome, /housemenu Sistem afaceri/Business System: General Commands: /gobus, /busmenu Admin System: General Commands: /acmds, /admins. V.I.P System: General Commands: /vcmds, /vips. Personal settings system: General Command: /psettings Statistics System: General Commands: /stats Achievements System: General Commands: /ach(/achievements) Commands System: General Commands: /cmds Rules System: General Commands: /rules Top System: General Commands: /top Scurtmetrajul serverului/Server trailer: Pentru mai multe intrati pe serverul nostru!/For more join us!
  5. BaFFyJunior

    Ajutor sistem de sleep

    Am rezolvat, se poatea da T/C.
  6. BaFFyJunior

    Eroare compilare

    Nu este o eroare, este un warning. Acesta te anunta ca simbolul CrateTD nu e folosit nicioadata. Sterge CrateTD din gamemode si va disparea.
  7. BaFFyJunior

    Problema skills burned

    function GetPlayerSkill(playerid) { case 14: { level = PlayerInfo[playerid][pTruckerSkill]; if(level >= 0 && level < 100) level = 1; else if(level >= 100 && level < 150) level = 2; else if(level >= 150 && level < 180) level = 3; else if(level >= 180 && level < 210) level = 4; else if(level >= 210) level = 5; } return level; } function GetPlayerSkill2(playerid, id) { case 14: { level = PlayerInfo[playerid][pTruckerSkill]; if(level >= 0 && level < 100) level = 1; else if(level >= 100 && level < 150) level = 2; else if(level >= 150 && level < 180) level = 3; else if(level >= 180 && level < 210) level = 4; else if(level >= 210) level = 5; } return level; } YCMD:skills(playerid, params[], help) { // job 14 skill = GetPlayerSkill2(playerid, 14); if(skill < 5) format(needp, 10, "%d", GetNeedPoints(playerid, 14)); else needp = "-"; format(string, sizeof(string), "* Trucker: %d (%d/%s)\n", GetPlayerSkill2(playerid, 14), PlayerInfo[playerid][pTruckerSkill], needp); strcat(szDialog, string); function UpdateJobStats(playerid) { case 13: { if(GetPlayerSkill(playerid) == 5) { format(string, sizeof(string), "Ai skill %d si ai muncit de %d ori.~n~Ai skill maxim la acest job.~n~Ai facut %d drumuri si ai castigat in total $%s.~n~Muncitori la datorie: %d", GetPlayerSkill(i), PlayerInfo[i][pTruckerSkill], CurseFacute[i], FormatNumber(MoneyEarned[i]), GetJobWorkers(14)); } else { format(string, sizeof(string), "Ai skill %d si ai muncit de %d ori.~n~Pentru a avansa, ai nevoie de inca %d puncte.~n~Ai facut %d drumuri si ai castigat in total $%s.~n~Muncitori la datorie: %d", GetPlayerSkill(i), PlayerInfo[i][pTruckerSkill], GetNeedPoints(i, PlayerInfo[i][pJob])-PlayerInfo[i][pTruckerSkill], CurseFacute[i], FormatNumber(MoneyEarned[i]), GetJobWorkers(14)); } PlayerTextDrawSetString(i, JobTD, string); PlayerTextDrawShow(i, JobTD); } Ar trebui sa mearga, cred. Sper ca ti-am fost de ajutor.
  8. BaFFyJunior

    Level Bar

    Nu cred ca poti cu acel tip de editor din cate stiu eu.
  9. BaFFyJunior

    Problema la crearea unui job! [gm burned]

    function GetPlayerSkill(playerid) { bla bla bla(case 1, 2 ,3 ,etc) return level; } function GetPlayerSkill2(playerid, id) { bla bla bla(case 1, 2 ,3 ,etc) return level; } E:\Gamemode\gamemodes\wa-rpg.pwn(26855) : error 002: only a single statement (or expression) can follow each "case"  cat despre eroarea asta poate ai uitat sa inchizi undeva statementul(ai uitat o } inainte de return 1;). Sper ca te-am ajutat!
  10. BaFFyJunior

    Ajutor sistem de sleep

    Salutare! Am un sistem de sleep, am incercat sa pun o variabila(pSleep) pentru a putea folosi acest sistem. De exemplu: daca scri /sleepon sa obosesti si sa trebuiasca sa dormi, daca scri /sleepoff sa poti dezactiva sistemul. Am facut asta, am pus variabila in publicuri, dar nu se mai actualizeaza nivelul de oboseala. Aveti idee de ce? Va rog sa nu sariti pe mine ,sunt incepator. new SleepLevel[MAX_PLAYERS]; new Bar:SleepBar[MAX_PLAYERS]; new PlayerText:SleepScreanTD; new Sleeping[MAX_PLAYERS]; OnPlayerConnect SetTimer("SleepTimer", 60000, true); // 1200000:20 minute SleepLevel[playerid] = 0; OnPlayerSpawn SleepBar[playerid] = CreateProgressBar(548.000000, 58.000000, 58.000000, 3.700000, 16755455, 5); SetProgressBarValue(SleepBar[playerid], SleepLevel[playerid]); ShowProgressBarForPlayer(playerid, SleepBar[playerid]); //=======================================================================================================// CMD:sleepon( playerid, params[ ] ) { gQuery[0]=EOS; if(APlayerData[playerid][Sleep] == 0) { APlayerData[playerid][Sleep] = 1; mysql_format( SQL, gQuery, sizeof( gQuery ), "UPDATE `users` SET `Sleep` = '1' WHERE `Name` = '%s'", GetName( playerid ) ); mysql_query( SQL, gQuery ); } else return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai deja pornit sistemul de sleep!"); return 1; } //=======================================================================================================// CMD:sleepoff( playerid, params[ ] ) { gQuery[0]=EOS; if(APlayerData[playerid][Sleep] == 1) { APlayerData[playerid][Sleep] = 0; mysql_format( SQL, gQuery, sizeof( gQuery ), "UPDATE `users` SET `Sleep` = '0' WHERE `Name` = '%s'", GetName( playerid ) ); mysql_query( SQL, gQuery ); } else return SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai deja oprit sistemul de sleep!"); return 1; } //=======================================================================================================// OnPlayerLogin APlayerData[ playerid ][ Sleep ] = cache_get_field_content_int( 0, "Sleep", SQL ); //=======================================================================================================// forward SleepTimer(playerid); public SleepTimer(playerid) { for(new i=0;i<MAX_PLAYERS;i++) { if(APlayerData[playerid][Sleep] == 1) { if(IsPlayerConnected(i)) { if(SleepLevel[i] == 5) { SendClientMessage(i, 0xFFFFFF, "{00FF00}[{FFFFFF}SleepSystem{00FF00}]{808080}Ai adormit deoarece esti prea obosit!"); TogglePlayerControllable(i, 0); ApplyAnimation(i,"CRACK","crckdeth2",4.0, 1, 0, 0, 0, 0); GameTextForPlayer(i, "~w~Sleeping....", 5000, 1); SetTimerEx("SleepOutSide", 45000, false, "i", i); Sleeping[i] = 1; return 1; } if(SleepLevel[i] == 4) { SendClientMessage(i, 0xFFFFFF, "{00FF00}[{FFFFFF}SleepSystem{00FF00}]{808080}Atipesti, trage pe partea dreapta a carosabilului la cea mai apropiata benzinarie!"); SleepLevel[i] = 5; SetTimerEx("SleepT3", 1500, false, "i", i); SetProgressBarValue(SleepBar[i], SleepLevel[i]); UpdateProgressBar(SleepBar[i], i); } else { SleepLevel[i] += 1; SetProgressBarValue(SleepBar[i], SleepLevel[i]); UpdateProgressBar(SleepBar[i], i); } } } } return 1; } //=======================================================================================================// forward Sleep2(playerid); public Sleep2(playerid) { if(APlayerData[playerid][Sleep] == 1) { PlayerTextDrawHide(playerid, SleepScreanTD); SleepLevel[playerid] = 0; SetProgressBarValue(SleepBar[playerid], SleepLevel[playerid]); UpdateProgressBar(SleepBar[playerid], playerid); TogglePlayerControllable(playerid, 1); Sleeping[playerid] = 0; SendClientMessage(playerid, 0xFFFFFF, "{00FF00}[{FFFFFF}SleepSystem{00FF00}]{808080} Ai dormit si acum esti revigorat. Iti uram drum bun!"); } return 1; } //=======================================================================================================// forward SleepOutSide(playerid); public SleepOutSide(playerid) { if(APlayerData[playerid][Sleep] == 1) { PlayerTextDrawHide(playerid, SleepScreanTD); SleepLevel[playerid] = 3; SetProgressBarValue(SleepBar[playerid], SleepLevel[playerid]); UpdateProgressBar(SleepBar[playerid], playerid); TogglePlayerControllable(playerid, 1); SetCameraBehindPlayer(playerid); ClearAnimations(playerid); Sleeping[playerid] = 0; SendClientMessage(playerid, 0xFFFFFF, "{00FF00}[{FFFFFF}SleepSystem{00FF00}]{808080} Ai adormit la volan. Inca esti obosit, trage pe partea dreapta la cea mai apropiata benzinarie!"); } return 1; } //=======================================================================================================// forward SleepT3(playerid); public SleepT3(playerid) { if(APlayerData[playerid][Sleep] == 1) { if(SleepLevel[playerid] >= 4) { if(Sleeping[playerid] == 0) { PlayerTextDrawShow(playerid, SleepScreanTD); SetTimerEx("SleepTime4", 10000, false, "i", playerid); } } } return 1; } //=======================================================================================================// forward SleepTime4(playerid); public SleepTime4(playerid) { if(APlayerData[playerid][Sleep] == 1) { if(Sleeping[playerid] == 0) { PlayerTextDrawHide(playerid, SleepScreanTD); SetTimerEx("SleepT3", 10000, false, "i", playerid); } } } //=======================================================================================================//
  11. BaFFyJunior

    Ajutor DMV

    Salut! Incerc sa fac un sistem dmv ceva mai complex si vreau ca daca nu iti pui centura de siguranta sa pici testul. La inceputul testului sa trebuiasca sa pornesti motorul, altfel sa nu poti incepe testul. Are cineva vreo idee cum as putea face asta? Sunt incepator, nu sariti pe mine. Multumesc anticipat!
  12. BaFFyJunior

    Ajutor punere panel Bunred/Shawn

    La inc/classes/DB.class.php ar trebui sa ai asa ceva: 'driver' => 'mysql', 'host' => '127.0.0.1', 'database' => 'baza1', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', La database iti pui tu baza de date pe care o ai(fie ca esti pe localhost, fie ca esti pe host). Si la index daca esti pe localhost in index.php ar trebui sa ai asa ceva: Config::$_PAGE_URL = 'http://localhost/panelruby(qbit)/'; Trebuie sa iti pui folderul cu panelul in XAMPP -> htdocs, iar dupa numele folderului iti creezi linkul de mai sus. Apoi pornesti XAMPP(Apache si MYSQL) si accesezi linkul de mai sus sau linkul pe care il ai tu. Sper ca ai inteles.
  13. BaFFyJunior

    Help mee

    Adauga codul la OnGamemodeInit sau intr-un filterscript si vezi sa ai pluginul+includeul streamer.
  14. BaFFyJunior

    YSI help

    Multumesc, asta era. Se poate da T/C.
×

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.