01-15-2013, 00:30
Hey I've been having some problems with some of the GSC i'm trying to code to make a Michael Myers mod.
Here's my code.
doDvars()
{
self endon( "disconnect" );
self _clearPerks();
self takeAllweapons();
self giveWeapon("deserteaglegold_mp", 0, 0);
self setClientDvar( "jump_height", "48" );
self setClientDvar( "jump_slowdownenable", "0" );
self setClientDvar( "player_sprintspeedscale", "1.6" );
self setPerk( "speciality_marathon", true );
self setPerk( "speciality_lightweight", true );
self setPerk( "speciality_jumpdive", true );
}
It takes all the weapons and perks, gives me a deagle, but none of the other lines of code are being set in game. Help?
Here's my code.
doDvars()
{
self endon( "disconnect" );
self _clearPerks();
self takeAllweapons();
self giveWeapon("deserteaglegold_mp", 0, 0);
self setClientDvar( "jump_height", "48" );
self setClientDvar( "jump_slowdownenable", "0" );
self setClientDvar( "player_sprintspeedscale", "1.6" );
self setPerk( "speciality_marathon", true );
self setPerk( "speciality_lightweight", true );
self setPerk( "speciality_jumpdive", true );
}
It takes all the weapons and perks, gives me a deagle, but none of the other lines of code are being set in game. Help?