Advertisement
RanAway

[PAWN] Change gamename

Oct 27th, 2020
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.35 KB | None | 0 0
  1. #include < amxmodx >
  2. #include < fakemeta >
  3.  
  4. new GameName[ 50 ]
  5.  
  6. public plugin_init()
  7. {
  8.     formatex( GameName, charsmax( GameName ), "Counter-Strike" ) // Change "Counter-Strike" to what you want
  9.     register_forward( FM_GetGameDescription, "GameNameDis" )
  10. }
  11.  
  12. public GameNameDis()
  13. {
  14.     forward_return( FMV_STRING, GameName )
  15.    
  16.     return FMRES_SUPERCEDE
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement