Quote:
Originally Posted by Mehis
You can just unhook the events like this:
PHP Code:
public Event_RoundStart(Handle:event, const String:name[], bool:dontBroadcast) { PrintToChatAll("[\x05HKG\x01] \x04knife round starts!"); UnhookEvent( "round_start", Event_RoundStart ); return; }
public Event_RoundEnd(Handle:event, const String:name[], bool:dontBroadcast) { UnhookEvent( "round_end", Event_RoundEnd ); if(GetTeamScore(CS_TEAM_T) == 1){ PrintToChatAll("[\x05HKG\x01] \x04T WON"); return; } else{ PrintToChatAll("[\x05HKG\x01] \x04CT WON"); return; } }
|
It works !!!! THANK YOU A LOT!!!!!!
2 More questions , which command that i can get the round ?
for example i want to make this
PrintToChatAll("[SM] xx Round Started! ");
and after finish the knife round . i want the winner can type !stay / !swap to select the starting side. but how can i only allow this command for winner ?
ty once again