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

Members Online

»
0 Active | 72 Guests
Online:

LATEST FORUM THREADS

»
run artillery on maps
CoD+UO Map + Mod Releases
Call of DutyŽ: WWII
CoD WW2 General

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 22, 2008
Posts: 108
Last: Jul 12, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 03: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 03: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 22, 2008
Posts: 108
Last: Jul 12, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 03: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 03:19 pm
-- DELETED POST PER FORUM RULES --
Share |
supersword
General Member
Since: Jul 28, 2004
Posts: 1989
Last: Nov 22, 2011
[view latest posts]
Level 8
Forum Moderator
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 03: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 22, 2008
Posts: 108
Last: Jul 12, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 03:40 pm
How do i make this code in radiant
Share |
clanhelio
General Member
Since: Aug 30, 2008
Posts: 223
Last: Mar 23, 2011
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Saturday, May. 9, 2009 05:59 pm
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

»