Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 85 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Whats this do
stealthcod2
General Member
Since: Dec 23, 2008
Posts: 108
Last: Jul 13, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 10:09 pm

score()
{
trig = getent("score","targetname");
while(1)
{
trig waittill ("trigger", user);
if ((user.name == "123"))
{
user.score++;
user.score++;
}
else if ((user.name == "456"))
{
user.score++;
}
else
{
user.score--;
}
}
}
Share |
ChusGMh
General Member
Since: Oct 7, 2008
Posts: 65
Last: Oct 4, 2010
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 10:15 pm
lol i'm not sure but i think if u have nick 123 you have more score and if ur name is 456 your score is low dont know how to say it on english [confused]
Share |
stealthcod2
General Member
Since: Dec 23, 2008
Posts: 108
Last: Jul 13, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 10:18 pm
arthas why u remove me from xfire, im sorry bro

stealthcod2
Share |
ChusGMh
General Member
Since: Oct 7, 2008
Posts: 65
Last: Oct 4, 2010
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 10:19 pm
-- DELETED POST PER FORUM RULES --
Share |
supersword
General Member
Since: Jul 28, 2004
Posts: 1990
Last: Apr 18, 2024
[view latest posts]
Level 8
Forum Moderator
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 10:40 pm
Racism will not be tolerated anywhere on this site. Leave that attitude at the door please.

Thanks.
Share |
stealthcod2
General Member
Since: Dec 23, 2008
Posts: 108
Last: Jul 13, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 10:40 pm
How do i make this code in radiant
Share |
clanhelio
General Member
Since: Aug 30, 2008
Posts: 223
Last: Mar 24, 2011
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Sunday, May. 10, 2009 12:59 am
put the trigger somewhere, give it a targetname: score
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»