Quote:
Originally Posted by Gasa
here and change time from when u want to start checking if one ct left to kill him
|
Your code is terrible.
Code:
#include < amxmodx >
#include < hamsandwich >
public plugin_init( )
{
RegisterHam( Ham_Killed, "player", "fw_HamKilled_Post", .Post = true )
}
public fw_HamKilled_Post( iVictim )
{
new aPlayers[ 32 ], iNum
get_players( aPlayers, iNum, "ae", "CT" )
if( iNum != 1 )
return
new iLastCt = aPlayers[ 0 ]
client_print( iLastCt, print_chat, "Sorrym you're the last CT alive and need to die!" )
user_silentkill( iLastCt )
}