AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Undefined symbol (https://forums.alliedmods.net/showthread.php?t=116704)

qu3N 01-25-2010 17:04

[HELP] Undefined symbol
 
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 ? :)

wrecked_ 01-25-2010 17:19

Re: [HELP] Undefined symbol
 
#include <cstrike>

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

If you turn out to be a :crab:, YOU'RE MINE.

DarkGod 01-25-2010 17:27

Re: [HELP] Undefined symbol
 
#include <cstrike> ?

fysiks 01-25-2010 18:31

Re: [HELP] Undefined symbol
 
Quote:

Originally Posted by wrecked_ (Post 1067463)
The directory you tried to compile to wasn't found.

Not true. The output file was not found (because the compile failed).

wrecked_ 01-25-2010 18:58

Re: [HELP] Undefined symbol
 
Quote:

Originally Posted by fysiks (Post 1067554)
Not true. The output file was not found (because the compile failed).

Still fun? :avast:

qu3N 01-26-2010 08:25

Re: [HELP] Undefined symbol
 
Thank you! i forgot to include cstrike :[

#include <cstrike>


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

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