07-02-2012, 12:16
07-02-2012, 12:24
(07-02-2012, 12:14)zxz0O0 Wrote: [ -> ]Add this
CSHARP Code
set_g_speed(g_speed_var); set_jump_height(jump_height_var); set_g_gravity(gravity_var); if (fall_damage_var == 0) disableFallDamage(); else enableFallDamage();
after
CSHARP Code
else // if map not defined { g_speed_var = 190; jump_height_var = 39; fall_damage_var = 1; gravity_var = 800; infammo_var = 1; }
now getting set_g_speed set_high_jump and set_g_gravity does not exist in the current context.
sorry about this as you can tell total noob at this.
07-02-2012, 12:29
Did you add the code to the speed plugin as @pieter suggested? These functions are in the speed plugin.
07-02-2012, 12:34
(07-02-2012, 12:29)zxz0O0 Wrote: [ -> ]Did you add the code to the speed plugin as @pieter suggested? These functions are in the speed plugin.
yes
07-02-2012, 13:00
pastebin your source or just post it here
07-02-2012, 13:02
http://pastebin.com/2MXk622p
p.s. i think thats an older plugin (can alter that after) ie: not with current offsets as i dont want it to update as with the new release
p.s. i think thats an older plugin (can alter that after) ie: not with current offsets as i dont want it to update as with the new release
07-02-2012, 13:57
if you dont have the current offsets it wont work offcourse..
*edit 1* that doesnt even have the maps in it? :/
*edit 2*
after the mapchecks use:
g_Speed(g_speed_var);
jump_height(jump_height_var);
g_gravity(gravity_var);
if (fall_damage_var == 0)
disableFallDamage();
if youre using the source u just posted as a basis
*edit 1* that doesnt even have the maps in it? :/
*edit 2*
after the mapchecks use:
g_Speed(g_speed_var);
jump_height(jump_height_var);
g_gravity(gravity_var);
if (fall_damage_var == 0)
disableFallDamage();
if youre using the source u just posted as a basis
07-02-2012, 15:04
(07-02-2012, 13:57)pieter Wrote: [ -> ]if you dont have the current offsets it wont work offcourse..
*edit 1* that doesnt even have the maps in it? :/
*edit 2*
after the mapchecks use:
g_Speed(g_speed_var);
jump_height(jump_height_var);
g_gravity(gravity_var);
if (fall_damage_var == 0)
disableFallDamage();
if youre using the source u just posted as a basis
I think i got it just needs some testing ..
Thanks to Pieter and zxz0O0
EDIT..
working a treat thankyou both again + rep both.
07-03-2012, 15:26
what would i need to add for inf ammo on a map?
07-03-2012, 15:39
add the code from nukems source to it