Jump to content

Syntrax#

Members
  • Posts

    271
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Syntrax#

  1. I don't think there is an available gamemode for this within the community.But it's not hard to script this and there are many possibilities within this.Will add it to my future plans and see what i can make out of it
  2. He is talking about stickers you place on your vehicle, So for example he wants numbers on the side and during the selection of the number he can choose the position of the number on the Vehicle itself.Basically like the Need For Speed World Tuning System.
  3. function giveoptions( thePlayer, seat, jacked) if getElementModel(getPedOccupiedVehicle( thePlayer )) ~= 572 then return end --if not in mower then just stop! if (getElementModel (source) == 572) then outputChatBox( "Do /startmowing to start mowing the grass!", getRootElement(), 10,255,0, false) end end addEventHandler('onVehicleEnter', root, giveoptions) -- Change it to this cause you are checking twice even though you already checked the element model once -- Also i've added the possibility to add several vehicles within this script in a table local AllowedVehicle = { 572 } -- To add more Vehicles fill in the following things in the AllowedVehicle Table AllowedVehicle = { ID, ID, ID, ...} function giveoptions( thePlayer, seat, jacked) local VehicleID = getElementModel(getPedOccupiedVehicle( thePlayer )) for i, v in pairs (AllowedVehicle) do if VehicleID == v then outputChatBox( "Do /startmowing to start mowing the grass!", thePlayer, 10,255,0, false) else return end end end addEventHandler('onVehicleEnter', root, giveoptions) Hope you like this and does it works because i'm writing this on my phone and not testing it
  4. Syntrax#

    Help

    I could put some time in it when i'm done with my current Project which is nearing completion.After that i'll take a look on what ya need etc.
  5. Syntrax#

    Help

    Interested in joining me with the development of Dynasty Network?
  6. Do you have any method the police scripts detects if the player is jailed such as ElementData, cause then you could add the line where it gets the data if the player is jailed
  7. What do you think about making catergories within the available objects, So you can have a cleaner view of what objects are available for which task.But then with a new design and an actual preview of the object itself in the air or in a room.
  8. There isn't such a download but you could create it yourself or pay a scripter to do so
  9. moveObject is smoother then just on client render, just calculate the distance to the point it has to move to and use some simple maths to gain the time of the object till it moves to that location For example s = distance (m) v = velocity (km/h) t = time (seconds) s = v * t so basically Distance = Velocity * time In order to get the time use Distance / Velocity (Speed of how fast you want it to move) = Time
  10. You could use setAccountData for this but since this is a leaked Owlgaming gamemode i'm not going to help you out.
  11. No problem if you have any other problem feel free to contact me through pm
  12. math.ceil(number) for health, due the fact 1 hp will be considered as 0 when using math.floor
  13. I can help with the further development if you want to
  14. Syntrax#

    Textures

    That's what i am saying, you can get the element in the hand.It isn't defined as element within mta nor do i know how to even get that.The only method i see is the crateWeapon function with the same model ID and attaching it to the players hand
  15. Syntrax#

    Textures

    https://wiki.multitheftauto.com/wiki/CreateWeapon take a look on this.Here you can create custom weapons which will be represented as an element.MTA doesn't recognize the default weapons as elements.You'll have to create custom weapons with this and define the projectile and it's destination where it will hit somebody.When it hit a player you could add the blood effect or anything you like.This is the only method i know to change the alpha of it.
  16. Syntrax#

    Textures

    ik didn't saw that just tried something real fast
  17. Syntrax#

    Textures

    will take a look on it now
  18. Or just get streamed elements and count how many players there are
  19. @Ren_712 is there any chance you can send an example this way cause fx is really something i want to learn and this can comd in handy with my new upcoming rpg server.
  20. A script to avoid noobs in the server, oh wait there already is, it's called Dissonnect
  21. Rows within mysql member ranks tables.Easier to look at and edit if needed.I do rather use this due the fact i'm more used to this.
  22. Hmm thanks but using another method now which is more efficient
  23. This works when having those above eachother.Now i have to find a method to get it back from MYSQL.The data has been stored as [["Headquarter","Leader","Prospect"]] But once i've done the query and Poll the results i've encountered a problem.It doesn't quite do anything.Tried For i, v in ipairs(resultdata) do outputDebugString(v) -- Outputs Table : random:~ outputDebugString(fromJSON(v)) -- Outputs nil end I've also tried For i, v in ipairs(resultdata) do stringG = v for i, v in ipairs(stringG) do outputDebugstring(v[1]) outputDebugstring(fromJSON(v)[1]) end end
  24. That's why i love your team <3
×
×
  • Create New...