Jump to content

Stylez

Members
  • Content Count

    85
  • Joined

  • Last visited

Everything posted by Stylez

  1. But what about now? At the moment there is a few GTA V online mods developed be different groups and are in early beta stages, my suggestion is to MTA team join them and make one great multiplayer mod, because current developers of GTA V mods in my opinion are not trustworthy as MTA team is to work on their mods. For now maybe they show interest in making a such mod, but who knows what they will do after a year or two. We know that MTA devs care about this mod, so they could take care of GTAV mod aswell if the original creators decide to stop development. MTA team should try to make contact wi
  2. kad man apsikrai atrodo, kad GTA:SA lietuviu tarpe nyksta isvis, turiu omenyje ir SAMP'a. Aisku gal ir negerai atrodo, bet susidaro toks ispudis
  3. ohh.. thankyou, it did help me
  4. Hello mta forum. straight to the point have a question about this event, about the last bool "false", can someone explain it? because i did not found anything about that bool in wiki page, and as i understod it does not let parent element be triggered, only child element such as buyGUI.button in my case? so is wiki page missing some information about that boolean, because it is shown in example but i do not see anything explained about it. addEventHandler("onClientGUIClick", buyGUI.button, buyMeat, false)
  5. Pakurk tutorialu pora lietuvisku, gal kasnors prades mokytis
  6. Gaila girdeti, galetu atsigauti lietuviu mta bendruomene, gal daugiau zaideju pritrauktu, kazkaip neuzsiveda veiksmas cia. Pats dar kuri kanors? Asmeniskai as pats bandyciau kazka, bet kiek kartu mokiausi, dariau niekada nesigaudavo, per sunki man programavimo logika, tai nuleidau rankas ir laukiu kol geru projektu atsiras lietuvisku
  7. Sveiki tautieciai, 100 metu nebuvau mta forumuose ir paciame mode, gryzau paziureti kas naujo. Aplankiau Lietuviu subforuma ir radau dykuma, tai kas gi atsitiko siai mazai "bendruomenei". Anksciau atrodo buvo aktyviu zaideju bei programuotoju. Idomu pasidare ar dar kasnors liko cia, ar yra kokiu gyvuojanciu lietuviu projektu
  8. oh, i jumped over few lines when i was looking at script, thanks
  9. No, you see carsTable = { [415] = 100, [413] = 50 } the 100 and 50 are prices for cars..
  10. but look, now.. i tried to make it if player has enough money to be able to buy a car.. now error says line 9 attempt to compare nil with number. cant understand... carsTable = { [415] = 100, [413] = 50 } carShopMarker = createMarker( -2424.12036, -609.69904, 131.62, "cylinder", 1.8, 130, 180, 0, 50 ) function buyCar(thePlayer, cmd, cmdType, carID) if isElementWithinMarker(thePlayer, carShopMarker) and cmdType == "buy" then if (carsTable[tonumber(carID)]) then for i,v in pairs(carsTable) do local playerMoney = getPlayerMoney(thePlayer)
  11. Hey guys, can someone help me with this. I need to check if entered carID matches the carID in the carsTable. when i type /v buy its says bad car id... carsTable = { [415] = 100, [413] = 50 } carShopMarker = createMarker( -2424.12036, -609.69904, 131.62, "cylinder", 1.8, 130, 180, 0, 50 ) function buyCar(thePlayer, cmd, cmdType, carID) if isElementWithinMarker(thePlayer, carShopMarker) and cmdType == "buy" then for i,v in pairs(carsTable) do if carID == i then --local playerMoney = getPlayerMoney(thePlayer) --if playerMoney
  12. Thankyouuu! now im gonna read ur script 10 times to understand what you did
  13. hey i created this function, but i it doesnt work.. every time when i /team blue nick it outputs Wrong syntax : /team [teamName] [playerToAdd]" function adminCanAddTeam(thePlayer, command, playerName, teamName) if hasObjectPermissionTo(thePlayer, "function.ban", true) then local playerToAdd = getPlayerFromName(playerName) if playerToAdd then outputChatBox(playerToAdd) local isCreated = getTeamFromName(teamName) if isCreated then outputChatBox("team exists", thePlayer, 255,150,0) else
  14. Stylez

    index

    No it's the easier thing! If its easy for you, could you make a tutorial where you create any kind of system with tables and loops and lots of detailed explanations, that would be great!
  15. Stylez

    index

    thanks, that helped me alot too LoL, Loops and tables are probably hardest things in Lua
  16. Stylez

    me needz helpz

    Thanks i did not knew that there is an auto login option in mtaserver cfg file... and that was not what i needed, but thanks. Ofc. i learned something from dat
  17. Stylez

    me needz helpz

    Yea, i tried to make simple auto login script when player joins server and this was begining of it..
  18. Heyo, so i spent an hour on trying to figure out whats the problem in this little script function meAdminAllTheTime(user, pass) local acc = getAccount(user, pass) if (acc ~= false) then outputChatBox("volia") end end addEventHandler("onPlayerJoin", getRootElement(), meAdminAllTheTime) It says : bad arg @ getAccount expected string at arg. 1 got nil. i tryed to fix it in many different ways. but i couldnt
  19. Arba norint pritraukti daugiau lietuviu reikia, kokio stipraus lietuvisko projekto. Nes dabar nieko cia isskyrus lietuvisku Race nera
  20. Stylez

    Solved

    Client: addEventHandler("onPlayerJoinTest", true ) addEventHandler("onPlayerJoinTest", getRootElement(), function() AddingS("join", getPlayerName(thePlayer).."#FFFFFF joined #FF4000[#ffffff"..countryNames.."#FF4000]") end ) Change to : Client: addEvent("onPlayerJoinTest", true ) -- ############# addEventHandler("onPlayerJoinTest", getRootElement(), function() AddingS("join", getPlayerName(thePlayer).."#FFFFFF joined #FF4000[#ffffff"..countryNames.."#FF4000]") end )
  21. Neidomiai cia kazkaip po 1 psota per puse metu paraso kasnors
  22. As i said. I removed absolutely all resources from "resource" folder just left my own made spawn script so i can spawn when i join.. So Without any scripts i can see other players their nicknames and green HP bars. How to disable/remove it?
  23. Thankyou, it is just what i needed Hmm, and what about playernicknames ant their HP bars? How to disable them?
×
×
  • Create New...