Jump to content

ViRuZGamiing

Members
  • Posts

    1,050
  • Joined

  • Last visited

Everything posted by ViRuZGamiing

  1. Recommendation; use the LUA Tags instead of the Quote tags. The difference, Without; With function onJoin() setPedArmor(source, 100) outputChatBox("Welcome To The Server", source, 255, 0, 0) end addEventHandler("onPlayerJoin", root, onJoin) Regards Viruz
  2. Make a GUI visible on Bind, bindKey --key "mouse2" guiSetVisible
  3. Just saying, can't you change the extension to something, example infernus.mta instead of dff. I don't think everyone is going to look that far find your models. I know this isn't something like your all saying, it's Just a suggestion.
  4. Take a look at the example on the wiki; https://wiki.multitheftauto.com/wiki/BindKey
  5. give us a debug or error or is; if countPlayersInTeam(v) == 0 then the error line?
  6. It's not Being cocky, no one will help. You want a server but don't want to make it yourself. There are 2 options. Learn scripting or pay a scripter. Regards viruz
  7. function scriptOnPlayerEnterVehicle ( theVehicle, seat, jacked ) local upgrades = getVehicleUpgrades ( theVehicle ) for _, upgrade in ipairs ( upgrades ) do outputChatBox ( getVehicleUpgradeSlotName ( upgrade ) .. ": " .. upgrade ) end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), scriptOnPlayerEnterVehicle )
  8. Xwad I understand your problem, I also agree on improving the introduction to scripting with more explanation about the types like variable, etc. But apart from that I've occured the same problem and would like to give you some basics of scripting in my spare time. Add me on my scripting skype; viruzgamiing or PM me. Regards Viruz
  9. What on earth are you even trying here?
  10. function respawnExplodedVehicle() if getVehicleOccupant(source) then setTimer(respawnVehicle, 5000, 1, source) end end addEventHandler("onVehicleExplode", getRootElement(), respawnExplodedVehicle)
  11. Should work but add an if (carName) then should be added if the carModel isn't a vehicle carName returns false. Removed my previous post as I didn't read what stood above it. Regards Viruz
  12. wx, wy, wz where do you declare them? as Mizudori tries to say.
  13. Show us the line where you do "triggerServerEvent("requestServerInfo", ...)" -- Client Side and the line where you do "addEvent("requestServerInfo", true)" -- Server Side
  14. - Removed - My bad didn't read the above.
  15. Take a look at; https://wiki.multitheftauto.com/wiki/Gu ... etSelected
  16. You are using compatible upgrades, So that means you check for every upgrade POSSIBLE on the vehicle, I think you search getVehicleUpgrades.
  17. An object that can't be used as a jetpack, I've read.
  18. I see you are working with GUI's so your input/origin would be something as a combobox or an editfield.
  19. Where's the origin of carModel?
  20. I suggest exporting to an XML then else you'll get to many element data's.
  21. I think; https://wiki.multitheftauto.com/wiki/Ge ... yersInTeam
  22. Not tested Just showed him What the script does.
×
×
  • Create New...