Jump to content

Mr.unpredictable.

Members
  • Posts

    437
  • Joined

  • Last visited

Posts posted by Mr.unpredictable.

  1. sorry for double posting , after experimenting for a while i found out the problem, There are some objects ids which are bugged and if you use those ids it bugs too many objects 

     

    for example if you replace any object with 4027 id it will make many objects collision less, to test it you can check the object id 3997 it will lose its collision untill you restart mta sa

    Topic can be locked now 

     

  2. 1 hour ago, Justin|X5| said:

    Just restore the .COL files manually, by extracting them from IMGtool and loading them in just as you would a modded .COL, but with the default.
    I once removed the legs on this road piece you see here and it bugged the servers because I was replacing the ID 8557 which is the road piece itself, (vgshseing27), you could replace a different object like a basketball for example, and it won't effect any important objects later in the server.
    8557_w.jpg

    that's something i did today but for some reason it's effects other objects too

     

    btw i used scene2res and later changed all models to the ones which we don't sue in the server but still many objects got bugged.

    only fix was removing the custom map itself

  3. Solved Thanks

    8 minutes ago, pa3ck said:

    And the explanation: since you have more than one marker positions, if you run the loop number of times, the variable mar and mar2 will be replaced with the newly created marker, since a variable can have only one value, the values will be overridden. To fix that, you'll need to use tables, the way it's been done above. 

    thanks man it really helped 

  4. So, I've been testing out the new browser scripting features for MTA 1.5 and made myself a browser. All works good but it only seems to load https://www.youtube.com/. I've tried other websites but they just don't show up. I looked at the whitelist and requestBrowserDomains functions but couldn't quite figure it out yet. Any ideas?

    It works fine for me, tell me which all links you tried and also can you post your code?

  5. I've checked the wiki, and when I use isElementCollidableWith in a vehicle starts to fly.

    prevent what a player and ped collide I already know how to do.

    Can you explain your problem better?

    Like what are you trying to do

  6. i wanna make it in tables and put in tables exp needed and make max level 100

    Why don't you do it by yourself?

    Just saying, you always ask people to do your work or you try to get help with scripts which you don't own, You will never learn if you keep doing like that.

  7. Are you using mta 1.5 nightly?

    Because it's under developing, all services maybe not work.

    It works fine for me, Check my video

    So that is my code. Seems like it doesnt detect my clicks on the website, but mta detects it fine? (Outputting to chat) Any ideas how to fix this?

    You didn't inject mouse movement

    use the event onClientCursorMove and injectBrowserMouseMove function to do that

    anyway try this

    local sW, sH = guiGetScreenSize() 
      
    local browser = createBrowser(sW,sH,false,false) 
      
    function renderYt() 
        dxDrawImage(0,0,sW,sH,browser,0,0,0,tocolor(255,255,255,255),true) 
        showCursor(true) 
    end 
      
    function createIt() 
        loadBrowserURL(source,"https://www.youtube.com/watch?v=RgKAFK5djSk") 
        focusBrowser(browser) 
        addEventHandler("onClientRender", root, renderYt) 
        end 
    addEventHandler("onClientBrowserCreated", browser, createIt) 
      
      
    addEventHandler("onClientClick", root, 
        function(button, state) 
        if state == "down" then 
            injectBrowserMouseDown(browser, button) 
            outputChatBox("Injected") 
        else 
            injectBrowserMouseUp(browser, button) 
            outputChatBox("InjectedUp") 
        end 
    end) 
    addEventHandler ( "onClientCursorMove", root, 
                    function (  relativeX , relativeY , absoluteX , absoluteY ) 
                        injectBrowserMouseMove ( browser, absoluteX , absoluteY) 
                    end ) 
    

  8. The resources are leaked because I am the Owner of the resources, I never gave you the permission to post the scripts and the resources are not public domain, requesting a moderator to remove the link and to close this topic. Seems this Guy like to abuse.

    Oh, so you own CSG's resources? I doubt you even wrote one line of it. It's also funny that you say they're not public domain, as I'm pretty sure it was you who leaked them in your little fit of last year.

    What are you talking about mate? Has far has i know sensei is the owner of Csg

×
×
  • Create New...