ColdWar-Pawn

Say money on New Round

Apr 26th, 2013
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.51 KB | None | 0 0
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include < amxmodx >
  4. #include < cstrike >
  5.  
  6. new g_iMaxPlayers, i;
  7.  
  8. public plugin_init()
  9. {
  10.     register_plugin( "Say money on new round", "v0.1", "+ColdWar" )
  11.    
  12.     register_logevent( "logevent_round_start", 2, "1=Round_Start" );
  13.    
  14.     g_iMaxPlayers = get_maxplayers( );
  15. }
  16.  
  17.  
  18. public logevent_round_start( )
  19. {
  20.     for( i = 1 ; i <= g_iMaxPlayers ; i ++ )
  21.     {
  22.         if( !is_user_connected( i ) )
  23.             continue;
  24.            
  25.         client_cmd( i, "say_team %i$", cs_get_user_money( i ) );
  26.     }
  27. }
Add Comment
Please, Sign In to add comment