Jump to content

Puma

Members
  • Content Count

    240
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Puma

  • Rank
    Red-Headed Stepchild
  • Birthday 06/11/1991

Details

  • Location
    The Netherlands
  • Interests
    GTA, modding, MTA, music

Recent Profile Visitors

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

  1. Modeling in SketchUp can be a bitch, but if you know what to do to create models that don't bug ingame (and SU is quite famous for that) AND you know how to create proper models at all, it can be a very handy programme. I have never used programmes other than SketchUp for moddeling and was able to create mods varying from vehiclemods to skinmods and mapmods ( http://www.gtagarage.com/mods/results.php?S=1152437 ). I'm not posting this to promote my mods, I just want to disprove the idea that Sketchup is not a good programme for GTAModding. At the end of the road you still need 3dsMax for prope
  2. Read the first post, it's all there.
  3. Hi, Long time no see Picked up Lua today and decided to make something other people would like to have, so here's a script that basically alters vehicledoors. Syntax (clientside): setVehicleDoorType ( vehicle, doorType ) Reset doortype by not filling in a doortype. My script uses elementdata, so when you set doortype for a vehicle at client 1, the altered doortype on that vehicle is also visible to all other players. Default doortypes are "scissor" and "butterfly". Small vid: Script: (feel free to implement it in your own scripts, some credit would be nice) -- Special doors
  4. And another option: try an older version of TXD-Workshop. I personally don't like the new versions, too much options..
  5. I added 'and state =="down"'. Without it the script runs twice when you press the button: when you press it and when you release it.
  6. You need to edit the toptimes scripts. I haven't tested this myself, but you could try this: Go to the race_toptimes resource and open toptimes_client.lua. Go to line 609: if self.startshow then Replace it with: local ddMap = true if #getElementsByType("checkpoint") > 0 then -- checkpoints = racemap ddMap = false else -- checking if there is a Hunter-pickup for i, pickup in pais ( getElementsByType ( "racepickup" ) ) do local type, vehicle = getElementData(pickup,"type"), getElementData(pickup,"vehicle") if type == "ve
  7. Nice concept, but it isn't very smooth. The ped starts rotating all of a sudden and only rotates around its x-axis.
  8. Try replacing 50 in createPickup by your timeout variable.
  9. Just check the list of client scripting events next time. https://wiki.multitheftauto.com/wiki/Cl ... ing_Events It''s right there. onClientGUIClick + guiGridListGetSelectedItem
  10. Reconsider this. Do you realize that when you download and save maps for the client, everyone can start stealing those maps? I mean, it's possible, but you gotta encryp them somehow.
  11. What do you mean with a specific number per row?
  12. Second one is better. Get the data from the database and store it into a table when it is needed: a MySQL connection is quite fast, don't worry about lag. You can request all 50 objects using 1 query.
  13. Puma

    moveObject

    The rotation you put into moveObject is ADDED to the current rotation. So, in abrir2 it should be 0, -270, 0 And in cerrar2 it should be 0, 270, 0 If I understand your script correctly.
  14. No. For example, you want to display a text on your screen when a player enters a marker. A lot of things, like displaying text, are only clientside available (simply because the server is just passing through and modifying data between clients and not rendering anything), so you do a clientside script using onClientMarkerHit.
  15. accountname = getAccountName (getPlayerAccount(playerElement)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "vip" ) ) then Fixed, you forgot the opening " to vip.
×
×
  • Create New...