Jump to content

myonlake

Members
  • Posts

    2,312
  • Joined

  • Days Won

    41

Everything posted by myonlake

  1. Hmm, I thought so. Damn. Well, I don't think admins need to see all bans. If they just search for a single ban instead... Yeah, thanks Callum anyways
  2. Do it the same way as a circle radar but as rectangle? Should work?
  3. Hey, I've stumbled to a very interesting problem and I can't recall how it was actually done. So how can I fetch the bans client-side instead of making all kinds of event triggers. I recall there was a single function for it, you enter the location of banlist.xml to the function or so. Any idea how to do this?
  4. Well, I can't remember what they used to make it. I think they used shaders to do it. So basically what you'd like to do is learn how to script shaders.
  5. https://community.multitheftauto.com/index.php?p=resources&s=list > Search for 'radar' > There you go, a list of good resources that work
  6. Show us the script that replaces the textures, if you could, please.
  7. If you want to check all that on server-side, then only use these. Server-side isObjectInACLGroup getPlayerAccount getAccountName But if you also want to check it client-side, then use these. Server-side isObjectInACLGroup getPlayerAccount getAccountName getElementData Client-side getElementData
  8. You didn't specify the "thePlayer" in onResourceStart. I fixed it by doing it to all players. Also, you had a few unnecessary functions there so I made it more simple for you. Should work I guess. Client-side local counter = 0 local starttick local currenttick addEventHandler("onClientRender", root, function() if not starttick then starttick = getTickCount() end counter = counter + 1 currenttick = getTickCount() if currenttick - starttick >= 1000 then setElementData(localPlayer, "Fps", counter) counter = 0 starttick = false end end ) addEventHandler("onClientResourceStart", resourceRoot, function() for i,v in ipairs(getElementsByType("player")) do setElementData(v, "Level", exports.exp_system:getPlayerLevel(v)) end end ) Server-side addEventHandler("onResourceStart", resourceRoot, function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","Fps") call(getResourceFromName("scoreboard"),"addScoreboardColumn","Level") end )
  9. It's not possible as far as I know. I checked the whole list of events and I don't think any of them really work out for the issue you have. The glass gets respawned automatically after some time. You can create an object with 0 as alpha next to it so it would have a barrier?
  10. myonlake

    Gridlist

    What if you add 'and column ~= 1' next to the row one? Any changes?
  11. Find unused/duplicated objects from the map editor or so. Then just replace the textures.
  12. I still don't quite understand. You want to add more objects/skins/vehicles? Not possible. If you want to replace textures in general, then just use these functions: https://wiki.multitheftauto.com/wiki/Cli ... _functions.
  13. You want files added into gta3.img? I find it rather hard, probably even impossible.
  14. myonlake

    SQL Question

    Does it say it can't find the MySQL module? If so, put the .so file in /server/ as well and libmysql to /deathmatch/. Maybe your MySQL provider doesn't allow any connections, only local. You can use PHP SDK to connect as well.
  15. What? You don't need localchat for /setskin... addCommandHandler setElementModel
  16. Please PLEASE learn English first or find your language section.
  17. Learn to script first or see the other tabs' code or just do a panel yourself.
  18. Maybe get the distance between the objects and the player and add a limit for each state you want. First state can be less than 50 and second can be less than 60 and third can be greater than 60.
  19. Also.. you have getRootElement() instead of the marker name. Meaning ALL markers are triggering the function 'lol'.
  20. Make it take a screenshot and load it every 2 seconds or so.
  21. Is it possible to make that using gui functions ? As said before, DirectX functions would be the best.
  22. Folder: Replaceskins New Folder: Replaceskins/skins Remember to put skins/ to the meta.xml before the file name. Please use your mind.
  23. myonlake

    Lock this

    Script = code and viceversa. Check the "code" I posted.
×
×
  • Create New...