Jump to content

tim260

Members
  • Posts

    157
  • Joined

  • Last visited

About tim260

  • Birthday 08/05/1996

Details

  • Location
    Netherlands
  • Occupation
    Student

Recent Profile Visitors

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

tim260's Achievements

Busta

Busta (15/54)

0

Reputation

  1. https://wiki.multitheftauto.com/wiki/GuiBringToFront
  2. In a nutshell When i apply my custom collision to an object, it returns true so it is applied, but the whole collision stops working and when i come close the object dissapears. Which i really dont understand because i cant figure out what i am doing wrong. Client Side Script function replaceModel() armydff = engineLoadDFF("SAAF/des_a51infenc.dff", 16094) engineReplaceModel(armydff, 16094) col = engineLoadCOL("SAAF/countn2_5.col") engineReplaceCOL ( col, 16094 ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) Meta <meta> <info author="A51 Custom Fence Collision" name="Custom Collision" version="1.0" type="script"/> <script src="client.lua" type="client" cache="false"/> <file src="SAAF/countn2_5.col" type="client"/> <file src="SAAF/des_a51infenc.dff" type="client"/> </meta>
  3. Sorry i dont work with those index and table stuff alot could you give me a brief example, much aprreciated.
  4. Hello fellow MTA'ers, I am having the following problem. I have had a spawn menu for ages now and this problem has been bothering me for some time. I have a grid list called Spawn. And an XML file where its loaded from. the XML looks like this < just an example > <city name="North"> <class name="Admin" r="200" g="200" b="200"> <spawn name="Admin 1" all the info... > <skin>217</skin> </spawn> <spawn name="Admin 2" all the info... > <skin>217</skin> </spawn> <spawn name="Admin 3" all the info... > <skin>217</skin> </spawn> </class> </city> Instead of outputting the Grid like this - Admin 1 - Admin 2 - Admin 3 it outputs it like: - Admin 1 - Admin 3 - Admin 2 How is this possible? the script wich creates te list is below. function onClassClick(button) if source == classGridList and button == "left" then if guiGridListGetSelectedCount(cityGridList) > 0 and guiGridListGetSelectedCount(classGridList) > 0 then guiGridListClear(spawnGridList) local selectedRow, selectedCol = guiGridListGetSelectedItem( cityGridList ); local cityName = guiGridListGetItemText( cityGridList, selectedRow, selectedCol ) local selectedRow, selectedCol = guiGridListGetSelectedItem( classGridList ); local className = guiGridListGetItemText( classGridList, selectedRow, selectedCol ) local classSkins = cities[cityName][className] for x, y in pairs(classSkins) do local row = guiGridListAddRow(spawnGridList) guiGridListSetItemText(spawnGridList, row, 1, x, false, false) end guiSetProperty(spawnScreenOKButton, "Disabled", "True") guiSetProperty(skinPrevButton, "Disabled", "True") guiSetProperty(skinNextButton, "Disabled", "True") guiSetText(skinNumberLabel, 1) unRenderSkin() end end end
  5. tim260

    applying LOD?

    So i have this custom model from a site but the LOD is in an seperate file. I couldn't seem to find any functions to load or apply it, dooes anybody have an solution for this? Thanks in advance, tim
  6. tim260

    Custom .col

    You load the Collision file but where do you apply/replace it? thinks this will fix it function resourceStart() txd = engineLoadTXD("materials/island.txd") engineImportTXD (txd,1337) col = engineLoadCOL("meshes/island.col") dff = engineLoadDFF("meshes/island.dff",1337) engineReplaceModel(dff,1337) engineReplaceCOL ( col, 1337 ) engineSetModelLODDistance(1337,300) end
  7. Any example how you would do it ? Or functions it could be done with
  8. I've been thinking about it for some time but i dont know if its possible. Its about streaming a live view onto something im sure you all know the CCTV Camera System, i want to make a room for it with live streaming cams. I think this image : http://ww3.hdnux.com/photos/14/20/42/32 ... 28x471.jpg Will say enough. Im just asking if its possible and how it would be if it's. Greetings, Tim260
  9. i found the problem but cant replace vehicle.txd
  10. I noticed this a long time ago but i never knew if its a bug client/server side or just something not synced. Whenever i add a mod and see the image on the internet its like this : ( colored LED beams ) http://gtapolicemods.com/downloads/tf3_3_R84.jpg but ingame they show up like this ( white ( no color ) LED beams ) http://img145.imageshack.us/img145/6485 ... 163736.png
  11. How come i saw the lights yesterday and now i dont anymore ?
  12. Direct one i ment cant find it there tried mutliply things
  13. how would i update ?edit : If someone could give me a dl link would be nice
  14. so im using the right version is this an MTA bug ? Multi Theft Auto v1.3-release-4209 Copyright (C) 2003 - 2012 Multi Theft Auto MTA:SA Server v1.3-release-4209
×
×
  • Create New...