Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. and what if you wait few seconds after closing/opening? could you post your map file too (can be just with that one object)? this looks rly weird
  2. lol? you arent new.... addEventHandler ? or just check wiki for onClientPedWeaponFire..
  3. if you are asking about replacing car rims, and shadow (to make a neon or something) - this is not possible.
  4. AFAIK - you can't "mute" original sound. You can add new one onClientPedWeaponFire
  5. You can't. Noone can.
  6. but this is DiskId32 error window, and DiskId32 require ide21201.vxd to run (Google says that, I dont assume it only by watching screenshot) Idk why this runs with GTA btw Of course this is good idea to scan your system for spyware (Spybot Search and Destroy, try also Panda Active Scan)
  7. Remove installed app called "DiskId32" --- should help.
  8. there is no need to log in. this feature is currently disabled. just enjoy playing
  9. https://wiki.multitheftauto.com/wiki/Debugging example: function onResourceStart ( name, root ) vehBar = getElementByID ( "vehbar" ) origX, origY, origZ = getElementPosition ( vehBar ) end function closeVehicleBar ( playerSource, commandName ) outputDebugString("player "..getPlayerName(playerSource).." wants to close bar") local preX, preY, preZ = getObjectRotation( vehBar ) outputDebugString("current bar rotation: "..tostring(preY)) if preY == 0.0 then outputDebugString("moving bar:") local rotY = 90.0 outputDebugString(tostring(moveObject ( vehBar, 4000, origX, origY, origZ, 0.0, rotY, 0.0 ))) end end function openVehicleBar ( playerSource, commandName ) outputDebugString("player "..getPlayerName(playerSource).." wants to open bar") local preX, preY, preZ = getObjectRotation( vehBar ) outputDebugString("current bar rotation: "..tostring(preY)) if preY == 90.0 then outputDebugString("moving bar:") local rotY = -90.0 outputDebugString(tostring(moveObject ( vehBar, 4000, origX, origY, origZ, 0.0, rotY, 0.0 ))) end end addEventHandler ( "onResourceStart", getRootElement(), onResourceStart ) addCommandHandler ( "closebar", closeVehicleBar ) addCommandHandler ( "openbar", openVehicleBar )
  10. No i can't. You need the map, not me..
  11. theres a note in that post! Maybe read it?
  12. ah, right.. its becouse collisions are in separate files to model -- collisions are fine, but model rotations are messes up.. you need to "find" correct rotation for these models ... there is sakina race map: https://forum.multitheftauto.com/viewtop ... 93&t=28415 maybe its fine for you?
  13. i dont have anything against images, but this one is ugly.. for me
  14. collision file is fine. i tried akina already, and collision was fine. you just doing something wrong, so post your script, meta, etc
  15. after you will learn something about elements - it wont be strange anymore. btw: wiki clearly says: player element, not player name
  16. lua highlighter on forums are showing your error (notice that half of script is red) for rounding values: function round2(num, idp) return tonumber(string.format("%." .. (idp or 0) .. "f", num)) end -- usage: outputChatBox("PI: "..round2(22/7, 2)) -- will output PI: 3.14
  17. so just set right dimenstion.. what is marker target used for - you can read in wiki page
  18. well, topic suggest like he want to cancel firing event (destroy bullet) but in description theres something about shooting without bullets?? i know this guy, he's english is awful, i never understood much of his messages to me on msn
  19. omg.. get back to basics.. btw: onPlayerSpawn will be fired EVERY RESPAWN, not on join. and you added handler for triggerClientEvent ? total mess!! re-read about scripting again. scripting is not using random words. computer wouldnt understand that edit: you can use this resource if you want to play sound for one local player on join (not on spawn!)
  20. dzek (varez)

    Racepickups

    Could you explain your problem more? I assume you have created a pickup (what pickup? Nitro?), and you want to replace this pickup with repair and vehicle change. Can't you remove this pickup and create new one?
  21. Dump your database, using any software for MySQL, but in SQL code (CREATE TABLE ... etc), not in the way as above. And: I removed your "bump". Do not bump your post. Especially when there are no others topics waiting for reply, and when only 2 hours passed. Also do not double,triple,quadruple,multi post. I will remove all your bumps in the future. Thank you for understanding
  22. Few months ago you got my reply: https://forum.multitheftauto.com/viewtop ... na#p314263 It's still the same. Use 3D edit software, and do what i said. I can't help you more about it.
  23. well, getPedBodypart seems to be your CUSTOM function. How we could know what it can return and what it can't?
×
×
  • Create New...