(07-02-2012, 11:36)zxz0O0 Wrote: Change
CSHARP Code
currmap = GetDvar("mapname");
to
CSHARP Code
string currmap = GetDvar("mapname");
that sorted out the error, but it's still defaulting to the jumpheight, speed that is set in the speedplugin, which is this..
g_speed_var = Convert.ToInt32(GetServerCFG("SPEEDPLUGIN", "Speed", "220"));
jump_height_var = Convert.ToInt32(GetServerCFG("SPEEDPLUGIN", "JumpHeight", "240"));
fall_damage_var = Convert.ToInt32(GetServerCFG("SPEEDPLUGIN", "FallDamage", "0"));
gravity_var = Convert.ToInt32(GetServerCFG("SPEEDPLUGIN", "Gravity", "800"));