Advertisement
ColdWar-Pawn

Grenades Report

Feb 16th, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.44 KB | None | 0 0
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include < amxmodx >
  4. #include < csx >
  5.  
  6.  
  7. public plugin_init() {
  8.     register_plugin( "Grenades Report", "v0.0.1", "+ColdWar" )
  9. }
  10.  
  11. public grenade_throw( client, greindex, wId )
  12. {
  13.     static name[ 32 ];
  14.     get_user_name( client, name, sizeof name - 1 );
  15.     client_print( 0, print_chat, "[AMXX] %s threw %s grenade", name, wId == CSW_HEGRENADE ? "Explosive" : wId == CSW_SMOKEGRENADE ? "Smoke" : "Flash" );
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement