Outdated Someone convert this please!

ConsoleGods

Member
Messages
55
Reaction score
5
Points
8
Hi,

erm... mistakes where made...

Decided to try re-make SeriousHD Ghost Walker function because... I HATE HIS MENU LAYOUT! I CAN'T UNDERSTAND IT...

So I did this

Code:
ghostcaller()
{if (ghostcalled == true)  {ghostmafagaka = true;ghostcalled = false;self iprintln("Ghost Walker: ^2ON"); }else if (ghostcalled == false) {ghostmafagaka = false;ghostcalled = true;self iprintln("Ghost Walker: ^1OFF"); }}
ghost_walker()
    {
        a_ent = self get_ahead_ent();
        g_ent = undefined;
        g_tonext = undefined;
        x = undefined;
        y = undefined;
        z = undefined;
        while(ghostmafagaka(true) )
        {
            a_ent = self get_ahead_ent();
            if(isDefined(a_ent))
            {
                g_tonext = self get_free_space();
                if(isDefined(g_tonext))
                {
                    g_ent = self getGroundZPosition( g_tonext );
                    if(isDefined(g_ent))
                    {
                        z = g_ent[2];
                    }
                    else
                        z = (self GetOrigin())[2];
                    x = g_tonext[0];
                    y = g_tonext[1];
                    self setOrigin((x,y,z));
                }
                while(!self isOnGround())
                    wait .01;
            }
            wait .2;
        }
    }

As you can see... it's not GSC It's C++ :tonguewink:

I could you someone to make this in GSC for me

Thanks
 
G

Gentle

Guest
Hi,

erm... mistakes where made...

Decided to try re-make SeriousHD Ghost Walker function because... I HATE HIS MENU LAYOUT! I CAN'T UNDERSTAND IT...

So I did this

Code:
ghostcaller()
{if (ghostcalled == true)  {ghostmafagaka = true;ghostcalled = false;self iprintln("Ghost Walker: ^2ON"); }else if (ghostcalled == false) {ghostmafagaka = false;ghostcalled = true;self iprintln("Ghost Walker: ^1OFF"); }}
ghost_walker()
    {
        a_ent = self get_ahead_ent();
        g_ent = undefined;
        g_tonext = undefined;
        x = undefined;
        y = undefined;
        z = undefined;
        while(ghostmafagaka(true) )
        {
            a_ent = self get_ahead_ent();
            if(isDefined(a_ent))
            {
                g_tonext = self get_free_space();
                if(isDefined(g_tonext))
                {
                    g_ent = self getGroundZPosition( g_tonext );
                    if(isDefined(g_ent))
                    {
                        z = g_ent[2];
                    }
                    else
                        z = (self GetOrigin())[2];
                    x = g_tonext[0];
                    y = g_tonext[1];
                    self setOrigin((x,y,z));
                }
                while(!self isOnGround())
                    wait .01;
            }
            wait .2;
        }
    }

As you can see... it's not GSC It's C++ :tonguewink:

I could you someone to make this in GSC for me

Thanks
this is gsc lol
 
Top