Jump to content
Toxic Face

How to make god mode or enable editing script ?

Recommended Posts

Hi i need help with god mode not work and need help with editing script i have mod modded script workshop and how to enable in enfusion thnak you 🙂

class God
{
    static void OnPlayerSpawned(EntityAI player)
    {
        godMode(player);
    }

    static void godMode(EntityAI player)
    {
        player.SetHealth(1000000)
    }
};

"OnPlayerSpawned" addPublicVariableEventHandler
{
    params ["_unit"];
    God.OnPlayerSpawned(_unit);
};

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×