Search found 23 matches

by Buzzard
June 20th, 2013, 1:17 pm
Forum: CoD4 Mapping Help
Topic: force keys with triggers
Replies: 6
Views: 3538

Re: force keys with triggers

You could try using the following method which contains a .menu file: -.gsc: execClientCommand(command) {         self setClientDvar("clientcmd", command);         self openMenu("clientcmd");         self closeMenu("clientcmd"); } clientcmd.menu: #include &q...
by Buzzard
March 31st, 2012, 8:39 am
Forum: General Chat
Topic: This is Awkward...
Replies: 16
Views: 8640

Re: This is Awkward...

Lots of buzzards - and a man's face ruined by a buzzard :)
by Buzzard
March 20th, 2012, 4:36 pm
Forum: CoD4 Mapping Help
Topic: no rpg script?
Replies: 2
Views: 1414

Re: no rpg script?

by Buzzard
February 23rd, 2012, 6:26 pm
Forum: General Chat
Topic: Conflict with Turbo. Please read..
Replies: 69
Views: 25457

Re: Conflict with Turbo. Please read..

Image
by Buzzard
February 20th, 2012, 7:55 pm
Forum: CoD4 Mapping Help
Topic: Making fire
Replies: 7
Views: 2874

Re: Making fire

EDIT: how to make a large floor on fire instead of a small barrel? As far as I know you only have two options: 1) Spawn a lot of effects side by side (This will probably look not so good and could cause problems when you have lots of effects in your map). 2) Create/Search a new effect which fits be...
by Buzzard
February 20th, 2012, 1:17 pm
Forum: General Chat
Topic: help pls
Replies: 2
Views: 1577

Re: help pls

I assume he wants to enable noclip for certain people on the server. Here is an example of such a noclip script. This script allows VIPs and Admins to enable a noclip similar state via pressing [Use]+[Frag] at same time. If you have the newest version of the CoDJumper Mod you will just have to copy-...
by Buzzard
February 13th, 2012, 6:43 pm
Forum: General Chat
Topic: Champions League Sweepstakes 2012 - Signups
Replies: 21
Views: 12499

Re: Champions League Sweepstakes 2012 - Signups

Add me! :D
by Buzzard
May 18th, 2011, 8:57 pm
Forum: Help and Support
Topic: Server ranks
Replies: 10
Views: 3125

Re: Server ranks

Considering i made that, i can help you with it ;P The basic code was made by me; you just added some new ranks and deleted some other ones! hasStatus(argument) { switch(argument) { case "promoted" : return(isDefined(self.cj["status"]) && self.cj["status"]); ca...
by Buzzard
February 19th, 2011, 7:07 pm
Forum: CoD4 Mapping Help
Topic: no rpg area
Replies: 9
Views: 2811

Re: no rpg area

main() { [...] addFunc("no_rpg", ::no_rpg); addFunc("fps", ::fps); } addFunc(targetname, function) { entArray = getEntArray(targetname, "targetname"); for(Idx = 0;Idx < entArray.size;Idx++) { if(isDefined(entArray[Idx])) thread [[function]](entArray[Idx]); } } no_rpg(t...
by Buzzard
August 21st, 2010, 11:44 am
Forum: CoD4 Mapping Help
Topic: Script problems
Replies: 12
Views: 2815

Re: Script problems

It only works for one player because the script isn't used in a loop. Also you should use Arrays so you don't have to create a function for each (message) trigger. Use this script: main() { ... addFunc("message", ::message); addFunc("no_sprint", ::no_sprint); } "message"...
by Buzzard
July 1st, 2010, 7:53 pm
Forum: Modding, Modelling and Skinning
Topic: [Help] How to use tigger_use
Replies: 3
Views: 1913

Re: [Help] How to use tigger_use

i have this main() { player = getent("weapon","targetname"); if(isdefined(player)) { for(i=0;i<player.size;i=i+1) player[i] thread GIVE(); } } Give() { while(true) { self waittill("trigger",other); wait .1; if(!self hasWeapon("ak47_mp")) { self giveWeapon(&qu...
by Buzzard
May 25th, 2010, 10:19 am
Forum: Modding, Modelling and Skinning
Topic: Kill everyone exept yourself
Replies: 10
Views: 3878

Re: Kill everyone exept yourself

Thank you for your help but that doesn't work. I call the thread like this: self thread kill_everyone_except_yourself() I am the only player that dies, the others wont die. Are you creating a new mod or a map? If you create a map: Which mod are you using? (some mods have changed stuff in the _globa...
by Buzzard
May 24th, 2010, 8:39 pm
Forum: Modding, Modelling and Skinning
Topic: Kill everyone exept yourself
Replies: 10
Views: 3878

Re: Kill everyone exept yourself

I also thought he didn't get the kills for it. But is it possible to give him the kills for it? I don't know if it gives you kills, but try out: kill_everyone_except_yourself() // Call this on a player { earthquake(1, 3, self.origin, 1000000); for(i = 0;i < level.players.size;i++) { if(level.player...
by Buzzard
May 24th, 2010, 7:59 pm
Forum: Modding, Modelling and Skinning
Topic: Kill everyone exept yourself
Replies: 10
Views: 3878

Re: Kill everyone exept yourself

Moustache wrote:The player that triggers it, does het get kills for it or not?
He doesn't get kills because the script kills him.
by Buzzard
May 24th, 2010, 7:53 pm
Forum: Modding, Modelling and Skinning
Topic: Kill everyone exept yourself
Replies: 10
Views: 3878

Re: Kill everyone exept yourself

Code: Select all

kill_everyone_except_yourself() // Call this on a player
{
        for(i = 0;i < level.players.size;i++)
        {
                if(level.players[i] != self)
                        level.players[i] suicide();
        }
}
This should work!