Jump to content

Battlefield69 gamemode not working!!HELP!


Xwad

Recommended Posts

Posted

only one debugscript:

Maybe need i put it in gamemodes folder?

WARNING: Battlefield1942\specialevents.lua:393: Bad argument @ 'quiSetVisible' [Expected gui-element at argument 1,got nil]

please help i want to try out this gamemode:(

Posted

Its because mechanic GUI is being created but AFTER this function at line 393, mechanic GUI is created in some other function which is not called before line 393.

Posted

this is on line 393

  
addEventHandler ("onClientPlayerWasted", getLocalPlayer(), function (attacker, weapon, bodypart) 
    if status == true then 
        status = false 
        triggerServerEvent ("detachPatriot", getLocalPlayer(), target) 
    end 
    guiSetVisible (mechanicForm, false) 
end) 
  

Posted

Well than i'd say most of the functions would be deprecated so you should search for some other gamemode same as COD or BF or some World War game modes (if there are any?)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...