Sign in to follow this  
Followers 0
Fisher

Find the error game ;)

13 posts in this topic


init( modVersion )

{

precacheItem("barrett_mp");

rankLevel = (self getRank() % 61) + 1;

while( 1 )

{

level waittill( "player_spawn", player );

if(rankLevel >= 20)

{

thread barret();

}

}

}

barret()

{

self giveWeapon( "barrett_mp" );

self giveMaxAmmo( "barrett_mp" );

self SwitchToWeapon( "barrett_mp" );

}

getRank()

{

rankXp = self.pers["rankxp"];

rankId = self.pers["rank"];

if ( rankXp < (getRankInfoMinXP( rankId ) + getRankInfoXPAmt( rankId )) )

return rankId;

else

return self getRankForXp( rankXp );

}

0

Share this post


Link to post
Share on other sites

init( modVersion )

{

    precacheItem("barrett_mp");

    

    rankLevel = (self getRank() % 61) + 1;

    

    while( 1 )

    {

        level waittill( "player_spawn", player );

        if(rankLevel >= 20)

        {

            thread barret();

        }

    }

}

barret()

{

        self giveWeapon( "barrett_mp" );

        self giveMaxAmmo( "barrett_mp" );

    self SwitchToWeapon( "barrett_mp" );

}

getRank()

{    

    rankXp = self.pers["rankxp"];

    rankId = self.pers["rank"];

    

    if ( rankXp < (getRankInfoMinXP( rankId ) +getRankInfoXPAmt( rankId )) )

        return rankId;

    else

        return self getRankForXp( rankXp );

}

E Z

0

Share this post


Link to post
Share on other sites

Would of helped if you actually fixed it :L

then you'll never learn

 

"give a man a fish and he'll eat for a day, teach a man to fish and he'll eat for a lifetime"

0

Share this post


Link to post
Share on other sites

give a man a fishing company and he will be fat as fuck :) so work for me slaves :)

0

Share this post


Link to post
Share on other sites

give a man a fishing company and he will be fat as fuck :) so work for me slaves :)

:wat:

 

then you'll never learn

 

"give a man a fish and he'll eat for a day, teach a man to fish and he'll eat for a lifetime"

I love that quote  ^_^

0

Share this post


Link to post
Share on other sites

But this is a game to find errors, i found the errors, there was no part telling me to fix it ò.ó

0

Share this post


Link to post
Share on other sites
the functions you're trying to use that requires to be threaded to that function or #included to the gsc that function is placed

 

 

E Z

0

Share this post


Link to post
Share on other sites

or use it as plugin and no need for _rank.gsc

 

 

//not sure if I'm right ^^

0

Share this post


Link to post
Share on other sites

then you'll never learn

 

"give a man a fish and he'll eat for a day, teach a man to fish and he'll eat for a lifetime"

 

give a man a fishing company and he will be fat as fuck :) so work for me slaves :)

1390844545651.gif

0

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
Sign in to follow this  
Followers 0