Jump to content

IIYAMA

Moderators
  • Posts

    6,097
  • Joined

  • Last visited

  • Days Won

    218

Everything posted by IIYAMA

  1. you aren't debugging your code, if you did you want see that the variable blip is nil. You also would see that the: if not gangname then : part never get executed unless the localPlayer has no element data as well.
  2. if not gangname then
  3. saving the serial + cookie + timestamp - Serial for checking who he is. - Cookie and timestamp for security.
  4. I didn't say he needed to trigger the root. Only in the code he posted here, it will only accept the resourceRoot now.
  5. how far are you from the boundary ? Because after an amount of units this happens.
  6. and try to use root instead of resourceRoot. I didn't saw that until now.
  7. jup, somebody can. Somebody who likes to steal content of it.
  8. function giveMinigun() giveWeapon ( client, 38, 5000 ) takePlayerMoney ( client, 15000 ) end addEvent ( "giveMinigun", true ) addEventHandler ( "giveMinigun", resourceRoot, giveMinigun )
  9. outputChatBox(math.ceil(2.45645)) -- 3 outputChatBox(math.floor(2.45645)) -- 2 local groups = mapsleft/15 --[[ example value 97 97 / 15 = 6.4666666666667 math.ceil(6.4666666666667) -- 7 math.floor(6.4666666666667) -- 6 ]] local maxGroups = math.ceil(groups) -- groups rounded up. local minGroups = math.floor(groups) -- groups rounded down. local remainValue = mapsleft % 15 --[[ example value 37 37 % 15 = 7 What does this do? 37 - 15 = 22 22 - 15 = 7 7 remains. ]] Does this help out?
  10. IIYAMA

    Mods ._.

    He is using his own file share system, to share the txd/dff. Some of his txd/dff files are corrupted, that is the problem. (skype info)
  11. If you can't write code and not trying to write it, then you are at the wrong section. We can't/won't help you here. If you want this to be done you have to hire a paid scripter, which you can't do on this section too. Terible English isn't a problem, but read at least the rules of this section. https://forum.multitheftauto.com/viewtopic.php?f=91&t=47897 Thank very much.
  12. strange error: Maybe it is: "--" Try to replace it with: text -" .. "- text
  13. IIYAMA

    Mods ._.

    Then you check if the file does exist: https://wiki.multitheftauto.com/wiki/FileExists
  14. IIYAMA

    Table indexes

    To be honest the table.insert has it's benefits, but not in this code. Table.insert is a little bit slower(because it is a function), so you won't have benefit from it now. Benefit of table.insert is that you can add data at fields without overwrite other fields. myTable = { "hi1","hi2","hi4" } table.insert(myTable,3,"hi3" ) outputChatBox = outputChatBox or print for i=1,#myTable do outputChatBox(myTable[i]) end Result: hi1 hi2 hi3 hi4 So do what you want to use and know the differences between them!
  15. adjust the velocity depending of the distance from the ground. https://wiki.multitheftauto.com/wiki/ProcessLineOfSight https://wiki.multitheftauto.com/wiki/Ge ... enPoints3D
  16. IIYAMA

    Mods ._.

    Apply the txd and the dff directly after each other.
  17. IIYAMA

    Money

    @Matevsz If you don't understand shaders, make it with dx as the other guys say. Now please post your code. (after your wrote it...) [url=https://wiki.multitheftauto.com/wiki/DxDrawText]https://wiki.multitheftauto.com/wiki/DxDrawText[/url] [url=https://wiki.multitheftauto.com/wiki/OnClientRender]https://wiki.multitheftauto.com/wiki/OnClientRender[/url] [url=https://wiki.multitheftauto.com/wiki/DxSetAspectRatioAdjustmentEnabled]https://wiki.multitheftauto.com/wiki/Dx ... entEnabled[/url] [url=https://wiki.multitheftauto.com/wiki/ShowPlayerHudComponent]https://wiki.multitheftauto.com/wiki/Sh ... dComponent[/url] [url=https://wiki.multitheftauto.com/wiki/GetPlayerMoney]https://wiki.multitheftauto.com/wiki/GetPlayerMoney[/url] [url=https://wiki.multitheftauto.com/wiki/GuiGetScreenSize]https://wiki.multitheftauto.com/wiki/GuiGetScreenSize[/url] I gave you everything you need, try the code yourself. Don't start crying that you can't try it, because you will end up in my foes group and you won't get help from me any more.
  18. IIYAMA

    Mods ._.

    well then you don't need to apply the dff if it is the same model.
  19. IIYAMA

    Mods ._.

    Most of the dff require a txd to work. DFF = the collision TXD = the paint. (not effects, since they use image data from the "effect" itself) You can replace the txd(correct txd for this model) of an element without dff. But you can't replace dff without txd, because he doesn't know what color the element parts will be.
  20. IIYAMA

    Mods ._.

    then you need same txd's or remove the last overwrite.
  21. IIYAMA

    Mods ._.

    and what about txd
  22. IIYAMA

    Mods ._.

    Model 2 is something? Model 1 is something?
  23. You are moving the gates to the same position as they already are. ALSO: Debug your code: https://wiki.multitheftauto.com/wiki/Debugging and debug your code with debug strategies.
  24. Well you can change the vehicle handling: setVehicleHandling or push the vehicle down: setElementVelocity
  25. Ik heb er geen verstand van 3ds max(al heb ik de software wel), maar je zou het kunnen oplossen door andere objecten onzichtbaar te maken en daar mee de gaten te vullen.
×
×
  • Create New...