UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

ERROR FOR DO A SCRIPT

broken avatar :(
Created 9 years ago
by codigoalex
0 Members and 1 Guest are viewing this topic.
1,105 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 13 November 2014
Last active: 8 years ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
codigoalex's Groups
codigoalex's Contact & Social Links
https://gyazo.com/f715d573e81adcb8bac70fa57cb46e53
Somebody help me ??? This is the script
Code Snippet
Plaintext
function init()
{


level.trigcompleted = 0
level.trigneed = 1 // NUMERO DE TRIGGERS COMPLETOS
level thread interact1()

}

{
trig_1 = GetEnt("interactrigger1", "targetname");
trig_1 SetHintString("Manten pulsado [ F ] para rezar al dios Jason");
trig_1 SetCursorHint("HINT_NOICON");

while(1)
    {
        trig_1 waittill("trigger", player);

        SetHintString("Jason esta contento contigo, ten tu recompensa"); // Not Needed

        level.trigcompleted++;
 
        thread interaction(players);
 
        break;
    }

function shootables_done(player)
{
    while(1)
    {
 
        if( level.trigcompleted >= level.trigneed)
        {
// if (done) complete; "the code of system"

self.zombie_cost = 1000;



        }
 
        break;
    }
Last Edit: October 24, 2016, 04:29:19 pm by Dust
broken avatar :(
×
broken avatar :(
Location: usnah bruh
Date Registered: 23 November 2013
Last active: 9 years ago
Posts
14
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Signature
YA YEET! Need help? Just PM meh boiiii!
×
ChilledKarma's Groups
ChilledKarma's Contact & Social Linksgmkesler1lief erikson
Pretty sure this is fixed here, although im not sure what this script is supposed to do for you, just let me know if you have any problems.

Code Snippet
Plaintext
function init()
{
level.trigcompleted = 0;
level.trigneed = 1; // NUMERO DE TRIGGERS COMPLETOS
level thread interact1();
}

function shootable_1()
{
    trig_1 = GetEnt("interactrigger1", "targetname");

    trig_1 SetHintString("Manten pulsado [ F ] para rezar al dios Jason");
    trig_1 SetCursorHint("HINT_NOICON");

    while(1)
    {
        trig_1 waittill("trigger", player);

        SetHintString("Jason esta contento contigo, ten tu recompensa"); // Not Needed

        level.trigcompleted++;
 
        thread shootables_done(player);
 
        break;
    }
}

function shootables_done(player)
{
    while(1)
    {
 
        if( level.trigcompleted >= level.trigneed)
        {
// if (done) complete; "the code of system"

self.zombie_cost = 1000;
        }

        break;
    }
}

 
Loading ...