Quote:
Originally Posted by fysiks
Exolent answered your question. You may need to explain exactly what you are trying to do (the overall function or your plugin) to get better help.
The last code you posted does nothing. It was just two functions and were unused.
|
I was trying 2 fix my codes error
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public Wow()
{
new playersT[ 32 ] , num , i , tCount
new szName[ 32 ]
get_user_name( id , szName , charsmax( szName ) );
get_players( playersT , num , "ach" , "TERRORIST" )
for( i = 0; i < num; i++ )
{
tCount++
}
if( tCount == 1 )
{
client_print(0, print_chat,"%s Is the last Vampire!",szName)
}
}
public Woo()
{
new playersCT[ 32 ] , num , i ,ctCount
new szName[ 32 ]
get_user_name( id , szName , charsmax( szName ) )
get_players(playersCT , num , "ach" , "CT")
for(i = 0; i < num; i++ )
{
ctCount++
}
if(ctCount == 1 )
}
client_print(0, print_chat,"%s Is The last humen Eat HIM!",szName)
}
Quote:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Error: Expected token: ";", but found "-identifier-" on line 19
Error: Undefined symbol "id" on line 19
Warning: Expression has no effect on line 19
Warning: Expression has no effect on line 19
Error: Expected token: ";", but found ")" on line 19
Error: Too many error messages on one line on line 19
Compilation aborted.
4 Errors.
Could not locate output file C:\Documents and Settings\reason\Skrivbord\sdasda.amx (compile failed).
|