Quote from: Knott on August 11, 2008, 08:06:54 PMQuote from: gohanix on August 06, 2008, 01:55:14 PMwhat language is that?is tehre any tutorials for cod2 moding?looks like C+ , not easy!yes technically it's QuakeC. and it's easy.
Quote from: gohanix on August 06, 2008, 01:55:14 PMwhat language is that?is tehre any tutorials for cod2 moding?looks like C+ , not easy!
what language is that?is tehre any tutorials for cod2 moding?
...just a quick question..but ar eyou alt-tabbing and using same pc? if so.. please stop..
damnit dirt stop being a mexicant and start being a mexiCAN
not even pentium 1 billion will improve YOUR skills
* Evilgenius pulls out his cock to compare
if ((level.awe_announcerheadshot == 1) || (level.awe_announcerheadshot == 3)) { self iprintlnbold (&"ANNOUNCER_TOOK_HEADSHOT"); attacker iprintlnbold (&"ANNOUNCER_GAVE_HEADSHOT"); } if ((level.awe_announcerheadshot == 2) || (level.awe_announcerheadshot == 3)) { self thread announceSound ("headshot", 1.5); attacker thread announceSound ("headshot", 1.5); }explain why you check for 1(or2) or 3 i dotn know the awe mod at all.. but these if statements look funny
i was expecting more white sauce i guess
Lol gohanix steals my ideas... 1 of the variables doesnt seem to be correct. I would test the variables and how its passing them. It also looks like the nested if statement is being skipped hence why no headshot and no headbash sound.|| = andIs there any reason you wouldnt play the sound?? dont know why the or / or the and statement is there ( I mean this || )If it was me.{ if (sHitLoc != "head") return; if (sMeansOfDeath == "MOD_MELEE") { if ((level.awe_announcerheadbash == 1) || (level.awe_announcerheadbash == 3)) { self iprintlnbold (&"ANNOUNCER_TOOK_HEADBASH"); self thread announceSound ("headhunter", 1.5); attacker iprintlnbold (&"ANNOUNCER_GAVE_HEADBASH"); attacker thread announceSound ("headhunter", 1.5); } } else { if ((level.awe_announcerheadshot == 1) || (level.awe_announcerheadshot == 3)) { self iprintlnbold (&"ANNOUNCER_TOOK_HEADSHOT"); self thread announceSound ("headshot", 1.5); attacker iprintlnbold (&"ANNOUNCER_GAVE_HEADSHOT"); attacker thread announceSound ("headshot", 1.5); } }}