Jump to content

jonas13362

Members
  • Posts

    160
  • Joined

  • Last visited

Everything posted by jonas13362

  1. Hello , I would like to know what object id these bushes on the sad have ,since im unable to remove it with the function on the map editor. I already tried 3 id's that looked like the bushes but it didnt remove it at all ; 866 , 865 , 864 http://imgur.com/tV787XD (unable to post the pic somehow) Thanks in advance oh and its located in greenglass college in las venturas
  2. Is it also possible to use SetAccountData?
  3. Hello , Is it possible to get the previous team u were in? Thanks already, Jonas
  4. Sorry was on phone will try
  5. So If fuel is 100 then Create the rectangel(ik other thing needed)
  6. Thanks well my main idea was to get a progress bar but i guess its hard to get it for example if its 100% of fuel then its full if its 75 its for 3/4 full etc (main question too)
  7. local fuel = math.abs(fuel) dxDrawText("fuel"..fuel.." %", 599, 499, 617, 543, tocolor(254, 254, 254, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false); didnt worked
  8. Hm i madethis ; local fuel = getElementData(vehicle,fuel) dxDrawText("fuel:"..fuel.." %", 599, 499, 617, 543, tocolor(254, 254, 254, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false); but now i see for example 90.850% any way to fix it? Thanks in advance, Jonas
  9. Erhm thats not what i meant , i mean like it says "90%" if its 90 on fuel for example , and with my knowledge guiProgressBarSetProgress doesnt do that? Sorry if im wrong and or bad explained Thanks in advanced , Jonas
  10. Hello , Im trying to make a fuel system , So my main question is : is it possible to get for example 100% on a progressbar(https://wiki.multitheftauto.com/wiki/GuiCreateProgressBar) And if the fuel is for example 99 then it goes to 99% (i need to use getElementData(vehicle,"fuel") elementdata of fuel = fuel)? or something like this ; local fuel = 100 function fuelonbar() if fuel < 50 then Thanks in advance Jonas
  11. sort of teamchat but then only the one in the same class can see it for example if u do /class then u get chatbox if u typed "hoi" it goes to all players who are in that class ( guees getElementData is needed)
  12. Hello , Im a bit stuck with a script. (class chat) So wich functions do i need to use ? those? ; getElementData ouputChatbox greetings
  13. Hm ever going to be fixed? greetings
  14. Hello , My friend made a map for me but after i uploaded it to my server i can go trought those objects. Anyway to fix it? Note: My friend changed the scale of the objects Greetings , Jonas
  15. local connection = dbConnect( "mysql", "dbname=(database);host=(host name)", "(username)", "(password)") like this?
  16. Hello , thanks it worked , but i got another problem right now i need to use mysql but im unable to start the module ; im getting this error : MODULE: unable to find modules/mta_mysql.so (libmysqlclient.so.15:cannot open shared object file: No such file or directory)! (its inside there the files) greetings
  17. Hello , I wanna make a pickup for only one team so for example team1 can only use the pickup and not team2. i kinda forgot how to make it "private" look downstairs Greetings , Jonas
  18. Ah , hm how can i get it working? i can create the star now but if someone hits the star he dont see anything
  19. Wait shouldnt this be ; function bribepickup() triggerEvent("bribegui") end addEventHandler("onPickupHit",offerbribe,bribepickup) ?
×
×
  • Create New...