Jump to content

DonPro

Members
  • Posts

    125
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DonPro's Achievements

Sucka

Sucka (13/54)

0

Reputation

  1. lel, thanks, i found out that i cud not have Customobjects folder and then a files folder. so its working now! ty
  2. Hey MTA community! i get an error on nearly all lines of the replace script i got "Bad argument [Excepted (dff,txd,col) at argument 1, got boolean] i just wrote the error that comes up, but it comes up error on each of those, even the Engine import (Cant load EngineImportTXD,COL, etc) local txd = engineLoadTXD('files/bump.txd',true) engineImportTXD(txd, 2052) local dff = engineLoadDFF('files/bump.dff', 0) engineReplaceModel(dff, 2052) local col = engineLoadCOL('files/bump.col') engineReplaceCOL(col, 2052) engineSetModelLODDistance(2052, 500)
  3. i hope that day would come realy soon! btw, you can add 1 and 1 object into your editor, i have already added some buildings to mine not with Samps object ofc, but it is posible to do, i will recommend that you add one and one object from Samps objects, becouse if not you will destroy a bit of MTA editor, i did that once to test and the "Delete Buttom" got destroyed and many another objects got destroyed that following the orginal San andreas map. so this is a downside by using Samps objects. you can add Samps objects, but its not usefull, you have to replace current objects in MTA. I hope that one day, MTA will let you add your own cars, objects, weapons, peds by not replacing them but really adding new things to the game For sure, that would be pretty dope. But some of the biggest server on MTA use SAMP objects, so i dont think you have to be afraid
  4. i hope that day would come realy soon! btw, you can add 1 and 1 object into your editor, i have already added some buildings to mine not with Samps object ofc, but it is posible to do, i will recommend that you add one and one object from Samps objects, becouse if not you will destroy a bit of MTA editor, i did that once to test and the "Delete Buttom" got destroyed and many another objects got destroyed that following the orginal San andreas map. so this is a downside by using Samps objects. you can add Samps objects, but its not usefull, you have to replace current objects in MTA.
  5. I suppose that wont effect anything seens you say so i delete all those with Red boxes
  6. Hey! i wonder, becouse i wanna clean up my ACL Groups and rights so i wonder if i can delete the ACL group and ACL righst without destroy anything? Everything with a Red box around, is the ones i wanna delete. so would this effect anything?
  7. Thanks! was helpfull, i will try later today!
  8. Hi, i have been looking at the Wiki now but i cant find anything that explain how to open a gui. so i wonder if someone have a link to the wiki site where its write down how to do this function, or if you could show me by script. pickup = createPickup ( 1864.47265625, -1839.024414062, 13.56 , 3, 1275, "respawnTime", 0) function openGUI ( player ) call(getResourceFromName("Bloods"), "window") end addEventHandler ( "onPickupHit", pickup, openGUI ) i just tryed and tested ingame, i have started get a understanding on scripting but its still much for me to learn. The GUI is in a another LUA so i got told i had to call that LUA and make the function in "server.LUA" the name of the LUA the GUI is in i named "gui_client"
  9. Its "Time" not "Speed" It wont go with the same speed unless the space between every 2 points is the same because for example 100km in 10 seconds will go faster than 1000km in 10 seconds Thats makes sence, now i understand thanks! now i have to work a bit on it and adjust it thanks bro
  10. So what you think? you know what the problem can be?
  11. Well im sorry, but it does not. thats what im talking about, even if i put 10000millisecond in every it still go faster and slower when it wants, there is something bugged in the script somewhere that i dont understand. thats my problem, so yesterday i tryed to adjust the millisecond (start with 10000 and second 80000 then it goes the nearly the same speed somehow.)
  12. could you show me what you mean? i was looking at Wiki, but i didnt understand that lol change the timer in your "moveTable". So if i set it like this local moveTable = { --{time, x, y, z, rotX, rotY, rotZ}, {10000, 2896.19, -2397.39, 3.70}, {10000, 2896.19, -2762.60, 3.70}, {10000, 2854, -2874.60, 3.70}, {10000, 1162.09, -2874.60, 3.70}, {10000, 880.70, -2146.5, 3.70}, {10000, 880.70, -1884.09, 3.70}, } you mean it will go same speed all the time?
  13. could you show me what you mean? i was looking at Wiki, but i didnt understand that lol
  14. Hi, this is a timer that have been set, but they object start go faster, and sometimes slower. and i have tryed everything to make it go in the same speed but it does not work at all. could you help me and show me whats wrong with it? local moveTable = { --{time, x, y, z, rotX, rotY, rotZ}, {10000, 2896.19, -2397.39, 3.70}, {80000, 2896.19, -2762.60, 3.70}, {35000, 2854, -2874.60, 3.70}, {125000, 1162.09, -2874.60, 3.70}, {210000, 880.70, -2146.5, 3.70}, {270000, 880.70, -1884.09, 3.70}, } function move() for k,v in ipairs(moveTable) do if k == 1 then moveObject(object1, unpack(v)) else local time = 0 if k ~= 2 then for i=1,k-1 do time = time + moveTable[i][1] end else time = moveTable[1][1] end outputChatBox(time) setTimer(moveObject,time,1,object1, unpack(v)) end end end function moveGate(playerSource, cmd) move() end addCommandHandler("gostart", moveGate)
  15. Check the wiki page before u start asking all what you need is here : SetTimer Thanks! i will check this out, i just started scripting just trying to learn
×
×
  • Create New...