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

Members Online

»
0 Active | 9 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 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: World at War
Category: CoDWW Scripting
Scripting and coding with Call of Duty: World at War.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Bad Syntax Error
*UWS*ThisGuy
General Member
Since: Jul 31, 2008
Posts: 215
Last: Jan 8, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Thursday, Oct. 8, 2009 10:16 am
Client Script Compile Error
Bad Syntax
if(!isdefined(prefix))


This error is confusing me as I know nothing about scripting.
I DL the missing clientscripts but the error points to the raw/clientscripts/mp/_load file at line 663.

This is the 1st time I tried to add the clientside files and without them the map loads fine.

I am trying to add sounds to my map for the 1st time and have read all the tutorials but keep getting stuck on this error

any help is appreciated!
Share |
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoDWW Scripting
Posted: Monday, Oct. 26, 2009 12:59 pm
*UWS*ThisGuy writes...
Quote:
if(!isdefined(prefix))
[...]
I am trying to add sounds to my map


Why using isDefined() when you are adding sounds?
Its stupid a bit.
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoDWW Scripting
Posted: Monday, Oct. 26, 2009 01:57 pm
*UWS*ThisGuy writes...
Quote:
Client Script Compile Error
Bad Syntax
if(!isdefined(prefix))


This error is confusing me as I know nothing about scripting.
I DL the missing clientscripts but the error points to the raw/clientscripts/mp/_load file at line 663.

This is the 1st time I tried to add the clientside files and without them the map loads fine.

I am trying to add sounds to my map for the 1st time and have read all the tutorials but keep getting stuck on this error

any help is appreciated!


Unless you post the actual error, the file it occurs in, and line number, I doubt we can answer you.
Share |
*UWS*ThisGuy
General Member
Since: Jul 31, 2008
Posts: 215
Last: Jan 8, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Tuesday, Oct. 27, 2009 12:11 am
DemonSeed writes...
Quote:

Unless you post the actual error, the file it occurs in, and line number, I doubt we can answer you.


I posted the error I had when trying to run the map cause it was the same in console. and I posted the file and line number.

Turns out though that it was just the wrong _load file in clientscripts/mp....not sure where the mix-up was but got it all sorted out now and sounds are working.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty: World at War : CoDWW 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

»