AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   problem with my code (https://forums.alliedmods.net/showthread.php?t=89731)

Barbie 04-09-2009 20:59

problem with my code
 
i've tryed several times, and seems like i end same place again :S

just now it's alot more errors >.<. help?. im a newbie to this :S


CODE :
Quote:


// Add all the skills to the message!
strcat( szMsg, szTrainable, 1023 );
strcat( szMsg, szUltimate, 1023 );
strcat( szMsg, szPassive, 1023 );

ms_StatusText( id, TXT_JOB_INFO, szMsg );
}

// User has no job
else
{
ms_StatusText( id, TXT_JOB_INFO, "You need to select a job first!" );
}
}


// D:\Steam\steamapps\cahwizard1\counter-strike\cstrike\addons\amxmodx\scripting
\MapleStory/MapleStory.inl(887) : error 017: undefined symbol "TXT_job_INFO"
// D:\Steam\steamapps\cahwizard1\counter-strike\cstrike\addons\amxmodx\scripting
\MapleStory/MapleStory.inl(887) : warning 215: expression has no effect
// D:\Steam\steamapps\cahwizard1\counter-strike\cstrike\addons\amxmodx\scripting
\MapleStory/MapleStory.inl(887) : error 001: expected token: ";", but found ")"
// D:\Steam\steamapps\cahwizard1\counter-strike\cstrike\addons\amxmodx\scripting
\MapleStory/MapleStory.inl(887) : error 029: invalid expression, assumed zero
// D:\Steam\steamapps\cahwizard1\counter-strike\cstrike\addons\amxmodx\scripting
\MapleStory/MapleStory.inl(887) : fatal error 107: too many error messages on one line


All on same line >.<.

fysiks 04-09-2009 21:03

Re: ew, can't figure it :S..
 
Show your code (Use php tags).

Barbie 04-09-2009 21:06

Re: ew, can't figure it :S..
 
uhm not needed. imma try a thing before that :S. just remembered what i changed, before i gave me these errors. before it was only 1 error. so. ill be back withing 10-30 min >.<

YamiKaitou 04-10-2009 09:30

Re: ew, can't figure it :S..
 
As per the Global Forum Rules, you need to have a descriptive topic title. If you wish for this topic to stay open, please correct the topic title before you post again.

Barbie 04-10-2009 12:21

Re: ew, can't figure it :S..
 
oh sorry :O, first time using a forum :S, so uhm yeah. i'll make it something else. thx for pointing that out Yami :)

fysiks 04-10-2009 14:45

Re: problem with my code
 
You output is inconsistent with your code.

There is no "TXT_job_INFO" in the code that you posted (there is only "TXT_JOB_INFO")

Barbie 04-10-2009 14:58

Re: problem with my code
 
Quote:

Originally Posted by fysiks (Post 802409)
You output is inconsistent with your code.

There is no "TXT_job_INFO" in the code that you posted (there is only "TXT_JOB_INFO")

sorry. but i tryed both :S

TXT_JOB_INFO
and
TXT_job_INFO

Nextra 04-10-2009 15:02

Re: problem with my code
 
We need the whole code. Either post it wrapped into [php] tags or you upload the sma.

Barbie 04-10-2009 15:18

Re: problem with my code
 
Quote:

Originally Posted by Nextra (Post 802423)
We need the whole code. Either post it wrapped into [php] tags or you upload the sma.


of the file where the problem are or ?

fysiks 04-10-2009 15:37

Re: problem with my code
 
The whole code of the sma file will be the easiest for us to help you.

What is ".inl"?


All times are GMT -4. The time now is 02:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.