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)
}
Code:
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 20
Error: Undefined symbol "id" on line 20
Warning: Expression has no effect on line 20
Warning: Expression has no effect on line 20
Error: Expected token: ";", but found ")" on line 20
Error: Too many error messages on one line on line 20
Compilation aborted.
4 Errors.
Could not locate output file C:\Program\AMX Mod X\amxxstudio\Untitled.amx (compile failed).