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!