Advertisement
RanAway

[ Pawn - utility ] change gamename

Oct 27th, 2020 (edited)
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.60 KB | None | 0 0
  1. //----------------------- Read ------------------------//
  2. //   To apply changes, the server must be restarted.   //
  3.  
  4. //-------------------- Includes --------------------//
  5. #include < amxmodx >
  6. #include < fakemeta >
  7.  
  8. //-------------------- Defines --------------------//
  9. #define gamename    "Counter-Strike"
  10.  
  11. //-------------------- Plugin init --------------------//
  12. public plugin_init() register_forward( FM_GetGameDescription, "gamenamedesc" )
  13.  
  14. //-------------------- gamename foward --------------------//
  15. public gamenamedesc()
  16. {
  17.     forward_return( FMV_STRING, gamename )
  18.     return FMRES_SUPERCEDE
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement