Raised This Month: $ Target: $400
 0% 

[HELP] Undefined symbol


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
qu3N
BANNED
Join Date: Jan 2010
Location: Tallinn, Estonia
Old 01-25-2010 , 17:04   [HELP] Undefined symbol
Reply With Quote #1

Hi everyone, why the **ck i get this error all the time when i want to add something like:

cs_get_user_team(id) == CS_TEAM_CT

its like:

public start(id)
if(cs_get_user_team(id) == CS_TEAM_CT)
{ ...

error is like:

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "cs_get_user_team" on line 24

1 Error.
Could not locate output file D:\PORN\new\server\test.amx (compile failed).


can someone explain me how it work's and what should i do ?
qu3N is offline
Send a message via ICQ to qu3N Send a message via AIM to qu3N Send a message via Yahoo to qu3N Send a message via Skype™ to qu3N
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 01-25-2010 , 17:19   Re: [HELP] Undefined symbol
Reply With Quote #2

#include <cstrike>

The directory you tried to compile to wasn't found.

If you turn out to be a , YOU'RE MINE.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT

Last edited by wrecked_; 01-25-2010 at 17:36. Reason: preventing looking like an idiot by including the include
wrecked_ is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 01-25-2010 , 17:27   Re: [HELP] Undefined symbol
Reply With Quote #3

#include <cstrike> ?
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-25-2010 , 18:31   Re: [HELP] Undefined symbol
Reply With Quote #4

Quote:
Originally Posted by wrecked_ View Post
The directory you tried to compile to wasn't found.
Not true. The output file was not found (because the compile failed).
__________________
fysiks is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 01-25-2010 , 18:58   Re: [HELP] Undefined symbol
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
Not true. The output file was not found (because the compile failed).
Still fun?
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
qu3N
BANNED
Join Date: Jan 2010
Location: Tallinn, Estonia
Old 01-26-2010 , 08:25   Re: [HELP] Undefined symbol
Reply With Quote #6

Thank you! i forgot to include cstrike :[

#include <cstrike>
qu3N is offline
Send a message via ICQ to qu3N Send a message via AIM to qu3N Send a message via Yahoo to qu3N Send a message via Skype™ to qu3N
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:27.


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