Jump to content

IIYAMA

Moderators
  • Posts

    6,097
  • Joined

  • Last visited

  • Days Won

    218

Everything posted by IIYAMA

  1. = distanceFromPlayerToCheckpoint(player, sortinfo[i].checkpoint ) or 0
  2. Het is misschien stil omdat kant en klare resources die goed met elkaar moeten samen werken niet voor de hand liggen.
  3. When you make it global and recreate those vehicles, you will overwrite the vehicles(user-data). baggage = createVehicle ( 485, 1713.62378, 1458.48633, 10.73280, 0, 0,-3 ) baggage = createVehicle ( 485, 1713.62378, 1458.48633, 10.73280, 0, 0,-3 ) -- overwrite the data.
  4. @Robbster That's not a problem, the problem you have to solve is "how to destroy them for every single player". and then we are going to talk about tables. Or other storage possibility's.
  5. thank you! Players/server = RAM (temporary) Players = accountdata Server = mysql and SQL Right?
  6. and if I want to store personal stuff, (player data). Is it recommended to use accountdata or MySOL?
  7. Is MySQL also for data that will be executed lots and lots times? or is it better to use a table and store it in to the ram?(like normal tables) MySQL is more hard-drive work isn't?
  8. Did you tried it with player's or vehicle's? btw tried a serverside object?
  9. Yes this will cancel the map, because the map is the source. It is your code. addEvent("onMapStarting",true) addEventHandler("onMapStarting",getRootElement(), function ( ) if getResourceInfo(source, "type") == "map" then cancelEvent() end end) "onMapStarting" has nothing to do with the chatbox, I only finished the code that you made.
  10. Because it is an error. addEvent("onMapStarting",true) addEventHandler("onMapStarting",getRootElement(), function ( mapInfo, mapOptions, gameOptions ) --the parameters values are in tables. if getResourceInfo(source, "type") == "map" then --* cancelEvent() end end) -- "onMapStarting" we are already talking about maps.* -- source is the map. Maybe you should check this: https://wiki.multitheftauto.com/index.ph ... ource:Race
  11. np. Mr.Pres[T]ege is the best.
  12. Ik zal als ik thuis ben ff voor je kijken. Spawnpoints maken met editor edf? Dan heb ik de generale spawnpoint syntrax nodig en die kan ik pas maken als ik een spawnpoint map regel voor me zie. Van die gamemode zeker? Dan moet je van 1 van de maps uit de .map een spawnpoint regel halen.
  13. local police1 = createPickup (2251.99, 2489.39, 10.99, 1, 25, 10000, 60) local police2 = createPickup (2295.36, 2461.00, 1082, 0, 100, 10000, 60) function MarkerHit( thePlayer ) if ( source == police1 or source == police2 ) then local model = getElementModel( thePlayer ) if model~= 29 or model~= 181 then cancelEvent() end end end addEventHandler ( "onPickupHit", root, MarkerHit ) I expect people to place my given "end", at the correct location. I probably confused people O_o
  14. Wasn't a mistake by samer. local model = getElementModel( thePlayer ) if model~= 29 or model~= 181 then end
  15. try this. As far I know addEventHandlers don't support tables. Just one single element. Or you should have to use root and check in the function if the element is true. function MarkerHit( thePlayer ) local model = getElementModel( thePlayer ) if model~= 29 or model~= 181 then cancelEvent() end end addEventHandler ( "onPickupHit", createPickup(2251.99, 2489.39, 10.99, 1, 25, 10000, 60), MarkerHit ) addEventHandler ( "onPickupHit", createPickup(2295.36, 2461.00, 1082, 0, 100, 10000, 60), MarkerHit ) or local pickups = {[createPickup(2251.99, 2489.39, 10.99, 1, 25, 10000, 60)]=true,[createPickup(2295.36, 2461.00, 1082, 0, 100, 10000, 60)]=true} addEventHandler ( "onPickupHit", root, function ( thePlayer ) if pickups[source] then local model = getElementModel( thePlayer ) if model~= 29 or model~= 181 then cancelEvent() end end end)
  16. voor tdm? die heeft dat geloof ik al.
  17. is it only you or all players in your server? and a restart? (can be the mods)
  18. Check out the meta settings from tactics, perhaps it is added to tactics.
  19. https://community.multitheftauto.com/in ... ls&id=3028 Maybe you installed this resource?
  20. Gewoon het goede key woord in type Nee ik gebruik weinig mods, ik gebruik wel speciale sync damage scripts, alleen dat zou je als goed is niet aan je fps moeten voelen.
  21. https://community.multitheftauto.com/in ... ls&id=1679
  22. Ik heb geen idee van race resources, het zou ook kunnen dat de servers die het hebben, de eigenaars het zelf hebben gescript. Nope geen signature nodig, maar aardig dat je het vraagt.
  23. Waarom download je niet mijn monsterhandeling https://community.multitheftauto.com/in ... ls&id=6177 of kom je is langs op mijn server, (waar ik op het moment niks aan doe) mtasa://85.159.113.61:22035
  24. heb je wel is de gamemode hay gedaan? (deze zit als goed is al in je gamemode folder, aanrader) Hedit: https://community.multitheftauto.com/in ... ls&id=3716 Glue: https://community.multitheftauto.com/in ... ails&id=51 en voor de rest maak ik meestal alles zelf.
  25. infinity loop
×
×
  • Create New...