Jump to content

BulleTTime

Members
  • Posts

    26
  • Joined

  • Last visited

BulleTTime's Achievements

Advanced Member

Advanced Member (8/54)

0

Reputation

  1. it seems i cannot scale - rotate them is that right
  2. so how are these models made? I basicly want to rotate the direction of a particle (y) but is that possible ??? thanks
  3. Can anyone tell me how to assign particles on a .dff inside 3dsmax?? What do i need as material? Thanks
  4. would u like to show a working example using next() talidan ? (on the same table structure as above) thanks
  5. Hi, i was wondering how i could get the next absolute slot of a table. i would need a function that is called like this: nextslot = getNextSlot(slot) For example i would have a table like below: table1 = {} table[3] = "filled" table[7] = "filled" table[9] = "filled" Now lets say that i got number "9", then the function should return "3" and when i got the number "3" it should return "7" well thanks for any help
  6. aye thanks. works fine
  7. Anyone knows why there are special character like "$" not working with the following code: gButtons.bet_input = guiCreateEdit( 0.605, 0.965, 0.07, 0.0225, "other", true ) guiEditSetMaxLength (gButtons.bet_input, 128 ) characterBlackList = {"Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","M","N","B","V","C","X","Z","q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","z","x","c","v","b","n","m","|","!","@","#","$","%","^","&","*","(",")","-","=","+","_" } addEventHandler("onClientGUIChanged", gButtons.bet_input, function(element) for c,l in ipairs (characterBlackList) do if (string.find(guiGetText(element),l)) then local text = string.gsub(guiGetText(element),l,"") guiSetText(element,text) end end end)
  8. Thanks, It seems that it did not work cause of something wierd. When i put the code into a Timer, it does work
  9. this aint working for me, there's still collision. would u like to give an example? (that works) thanks
  10. Anyone seen this before? i need to have a ped sit down on a chair, so i basicly need to disable collision to get it into the right position Any help will be thankfull
  11. Hey, I have been searching for about a week into this problem, and i still cant get it. For some reason, onColShapeHit only works for a player when he is outside the vehicle (then i get the outPutChatBox message as check), but it should work on the vehicle (thecar) element only. - the positions inside the table's are fine - When i drive with the car into the shape, noting works, but when i exit the vehicle i do get the output in checkbox ( outputChatBox("garageid: " .. tostring(garages[garageid].id)) ) thecar = createVehicle(cars[carid].model, cars[carid].x,cars[carid].y, cars[carid].z, cars[carid].rx, cars[carid].ry, cars[carid].rz, cars[carid].plate) -- colshape front garage eventfrontgarageshape = createColCuboid(garages[garageid].x-5, garages[garageid].y-5, garages[garageid].z, 10, 10, 10) -- colshape inside garage eventinsidegarageshape = createColCuboid(garages[garageid].x_in-3, garages[garageid].y_in-3, garages[garageid].z_in, 6, 6, 6) --player reached garage function playerreachedgarage(theelement) -- something goes wrong here outputChatBox("garageid: " .. tostring(garages[garageid].id)) if (theelement == thecar ) then if (getVehicleOccupant(thecar)) then setGarageOpen(garages[garageid].id, true) end end end addEventHandler("onColShapeHit", eventfrontgarageshape, playerreachedgarage) ive pasted the full serverside script on pastebin: http://mta.pastebin.com/d780174de i could also put the client and xml files with positions if its needed I hope that anyone could notice whats wrong.
  12. Anyone knows where i can find the bank interriror? its not listed on the wiki aswell as in the mapeditor. thanks
  13. that aint working for me
  14. Could anyone post an example of how to use this lib? I tried the following but it wont work: dxText:create( txt, screenWidth/2, screenHeight/2 ) dxText:font("pricedown") dxText:type("border", 2, 0, 0, 0, 255)
  15. Anyone knows whats wrong with the following code? "Bad argument @ 'GetGaragePosition'" -- CLIENT function gotothegarage ( player, command, garageID ) local x, y, z = getGaragePosition (tonumber(garageID)) setElementPosition ( player, x, y, z ) end addCommandHandler ("gotogarage", gotothegarage)
×
×
  • Create New...