Advertisement
RanAway

[ Pawn - utility ] block console commands

May 28th, 2022 (edited)
1,818
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.52 KB | None | 0 0
  1. //-------------------- Includes --------------------//
  2. #include < amxmodx >
  3.  
  4. //-------------------- List of commands to block *NOTE: for chat add say before the command --------------------//
  5. new commandslist[][] = { "vote", "votemap", "jointeam", "chooesteam" }
  6.  
  7. //-------------------- Plugin init --------------------//
  8. public plugin_init() for( new i = 0; i < sizeof( commandslist ); i++ ) register_clcmd( commandslist[ i ], "block" )
  9.  
  10. //-------------------- block the commands --------------------//
  11. public block() return 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement