Sign in to follow this  
Followers 0
Son Gohan

XP Script

14 posts in this topic

Hey all :)

 

ive got a question about the xp script. This is mine atm:

 

#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;
#include common_scripts\utility;
 
main()
{
   maps\mp\_load::main();
 
 
 
    thread xp();
}
xp()
{
 
    trigger = getEnt("test","targetname");
    trigger waittill ("trigger", player);
    for(; ;)
    {
    trigger waittill ("trigger", player);
    player braxi\_rank::giveRankXP("", 500);
    }
 
when i compile and start it, it gives the error : could not find script braxi\_rank , but when i start the map with the mod ive got the braxi folder in, the script works and i get the xp. So compiling reflecions always fails. I hope you can help me with that :)
0

Share this post


Link to post
Share on other sites

... yes that was my intention. If i want to cheat my rank there are other ways but thats not what i want. Im making a map and if you dont belive me pls ask pixel about it. 

 

btw as i said, i already get the xp thats not the problem ;). Its just that my compile reflecions fails and i need that to release the map.

0

Share this post


Link to post
Share on other sites

He isn't trying to hack his rank ok? He is trying to get the xp system in his map.

0

Share this post


Link to post
Share on other sites

just comment out the script when compiling reflections

0

Share this post


Link to post
Share on other sites

i already did that :/

You said you did in the MOD folder, not your RAW folder. The compiler will load scripts from your raw folder, not your mods folder, therefore it'll throw an error cause it can't find the script in root/raw/braxi.

 

 

just comment out the script when compiling reflections

Lossy please... Imagine having to do that for like 25 functions every single time you want to compile reflections.

 

Edit: Wait derp, obviously you meant comment out the entire script. :dumb:

0

Share this post


Link to post
Share on other sites

So I just have to put the braxi folder in my RAW FOLDER?

Yes.

0

Share this post


Link to post
Share on other sites

 

 

Lossy please... Imagine having to do that for like 25 functions every single time you want to compile reflections.

 

Edit: Wait derp, obviously you meant comment out the entire script. :dumb:

Yes, yes i did mean the entire gsc file, only an idiot would be willing to comment out each custom function everytime they compile ^^

0

Share this post


Link to post
Share on other sites

Yes, yes i did mean the entire gsc file, only an idiot would be willing to comment out each custom function everytime they compile ^^

See, I'm a nub. NOW GIVE ME NUBS GROUP ON TS3! :angryarnold:

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