TalkingHelpsome questions

Posts 1–10 of 10 · Page 1 of 1
some questions
ok i decided to start working on v2 of ultimate killstreaks and i got a good idea for a killstreak

this is what it would load

self setDvar ("g_gravity", 1)
self setDvar ("jump_height", 1000)
self giveWeapon ("rpg_mp")
wait 2;
self inprint bold (ARTILLERY SMOKE EM)
wait 40;
self setDvar ("g_gravity", 100)
wait 10;
self setDvar ("g_gravity", 800)
self setDvar ("jump_height", 39)
self takeWeapon ("rpg_mp") <===========I know this code aint correct
self inprint bold (ARTILLERY ENDED)

ok here is what i need unlimited ammo no reload killstreak to activate on jumping and code to take rpg but not other weapons

help would be appreciated
To take the RPG it should be:

Code:
		while(self getCurrentWeapon() != "rpg_mp") {
		self switchToWeapon("rpg_mp");
I don't know about the other things, i cold find out, but i think there are people that are better qualified than me...
self setDvar is not a valid command btw. and takeWeapon is correct....
The Dvar command is
Code:
setDvar("Dvar", value);
No self, that is not needed
ok thank you both but you still havent answered my main question how the hell do i make the killstreak activate on jumping so it would lift the player in the air
Quote Originally Posted by .:MUS1CFR34K:. View Post
ok thank you both but you still havent answered my main question how the hell do i make the killstreak activate on jumping so it would lift the player in the air

I don't understand what you mean? You want to make it activate when you press the space bar or what?
Quote Originally Posted by Nachos View Post

I don't understand what you mean? You want to make it activate when you press the space bar or what?
thats exactly what i mean oh btw if i dont write self at the dvar code wont it effect all ppl?

and by the way it isnt necessary to be activated on jump i just wanna force the player to jump if thats possible
Well try to set the default killstreak button( 4 ) also as a jump buton for one time only. And Play a bit witb the true and false codes

Cheers
Code:
doShit()
{
    self endon("death");
    self endon("disconnect");

    for(;;)
    {
        if(self jumpButtonPressed())
        {
             wait 0.01;
             if(self isOnGround())
                 continue;
             self iPrintLnBold("Oh lookies, you're in the air!");
        }
        wait 0.01;
    }
}
Quote Originally Posted by master131 View Post
Code:
doShit()
{
    self endon("death");
    self endon("disconnect");

    for(;;)
    {
        if(self jumpButtonPressed())
        {
             wait 0.01;
             if(self isOnGround())
                 continue;
             self iPrintLnBold("Oh lookies, you're in the air!");
        }
        wait 0.01;
    }
}
thank you i'll try that
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us