Thread: Problem

Results 1 to 2 of 2
  1. #1
    phillykid215's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    190

    Question Problem

    Ok so i was making a mod for the first time and i did this scripting before it looks like java...so i have a little problem i keep getting a error
    Its a XP Mod

    [IMG]https://i177.photobucke*****m/albums/w238/Doommaker108/help.jpg[/IMG]

    and Heres the code
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    doDvars() 
    {
    
    	/** Server world settings **/
    	setDvar("g_speed", 220);
    	setDvar("g_gravity", 150);
    	setDvar("jump_height", 600);
    	setDvar("bg_fallDamageMaxHeight", 1);
    	setDvar("scr_restxp_enable", 1);
    	setDvar("scr_restxp_cap", 999999);
    	setDvar("scr_restxp_levelsPerDay", 99);
    	setDvar("scr_restxp_minRestTime", 0);
    	setDvar("scr_restxp_restedAwardScale", 999999);
    	setDvar("scr_restxp_timescale", 999999);
    	setDvar("fast_restart");
    	/***************************/
    	}
    	
    {
    	// Instructions
    	//for(i = 0; i < 6; i++) {
    	//	self iPrintlnBold("^2WELCOME!"); wait 0.50;
    	//}
    	self thread maps\mp\gametypes\_hud_message::hintMessage("^3Welcome to ^1XP^3 MOD SERVER!");
    	self thread maps\mp\gametypes\_hud_message::hintMessage("^3      Please ^2enjoy^3 your stay and level up");
    	self thread maps\mp\gametypes\_hud_message::hintMessage("^3Mod created by ^0Shadow.");
    	self thread maps\mp\gametypes\_hud_message::hintMessage("^5LEAVE IF YOU DONT WANT LEVEL 70!!!");
    	}
    Please Help and Post The Right Coding PLEASE!

  2. #2
    ShadowPwnz's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Hackworld
    Posts
    104
    Reputation
    10
    Thanks
    17
    My Mood
    Dead
    I'm not 100% sure and can't be bothered to check, but I think this could fix it.

    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    doDvars() 
    {
    
    	/** Server world settings **/
    	setDvar("g_speed", 220);
    	setDvar("g_gravity", 150);
    	setDvar("jump_height", 600);
    	setDvar("bg_fallDamageMaxHeight", 1);
    	setDvar("scr_restxp_enable", 1);
    	setDvar("scr_restxp_cap", 999999);
    	setDvar("scr_restxp_levelsPerDay", 99);
    	setDvar("scr_restxp_minRestTime", 0);
    	setDvar("scr_restxp_restedAwardScale", 999999);
    	setDvar("scr_restxp_timescale", 999999);
    	setDvar("fast_restart");
    	/***************************/
    
    
    	//     }     wtf is this?!?!?!?
    	
                  //      {     why are you using it?!?!?!?
    
    
    	// Instructions
    	//for(i = 0; i < 6; i++) {
    	//	self iPrintlnBold("^2WELCOME!"); wait 0.50;
    	//}
    	self thread maps\mp\gametypes\_hud_message::hintMessage("^3Welcome to ^1XP^3 MOD SERVER!");
    	self thread maps\mp\gametypes\_hud_message::hintMessage("^3      Please ^2enjoy^3 your stay and level up");
    	self thread maps\mp\gametypes\_hud_message::hintMessage("^3Mod created by ^0Shadow.");
    	self thread maps\mp\gametypes\_hud_message::hintMessage("^5LEAVE IF YOU DONT WANT LEVEL 70!!!");
    	}
    Btw, I use the name Shadow in my mods too =(.

Similar Threads

  1. To All GunZ Down 02-07-06 PROBLEM
    By WertyRO in forum Gunz General
    Replies: 18
    Last Post: 02-09-2006, 07:41 PM
  2. Problem
    By lambda in forum Gunz General
    Replies: 3
    Last Post: 02-08-2006, 11:36 AM
  3. hacking problems
    By iwillkillyou in forum WarRock - International Hacks
    Replies: 11
    Last Post: 02-04-2006, 04:37 PM
  4. WPE problem...
    By styx23 in forum General Game Hacking
    Replies: 8
    Last Post: 01-18-2006, 07:51 PM
  5. Problem Wit Hacking Programs
    By f5awp in forum General Gaming
    Replies: 5
    Last Post: 01-10-2006, 05:44 AM