Advertisement
milutinke

Test auto_apdejt v1.7

Oct 20th, 2014
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.22 KB | None | 0 0
  1. ============================================================= Pre Apdejta =====================================================================
  2. #include < auto_apdejt >
  3.  
  4. #define IME "Test Update"
  5. #define VERZIJA "1.0"
  6. #define AUTOR   "Milutinke (ByM)"
  7.  
  8. public plugin_init() {
  9.     register_plugin( IME, VERZIJA, AUTOR );
  10.    
  11.     if( !ProveriApdejt( IME, VERZIJA, "tron.mojkgb.com" ) ) {
  12.         LogujGresku( AutoApdejt_ZadnjaGreska( ) );
  13.     }
  14.     else {
  15.         if( DaLiJePluginApdejtovan( ) )
  16.             server_print( "Uspesan apdejt :D" )
  17.     }
  18. }
  19.  
  20.  
  21. ============================================================= Posle Apdejta ( Tj plugin za apdejt ) =====================================================================
  22.  
  23. #include < auto_apdejt >
  24.  
  25. #define IME "Test Update"
  26. #define VERZIJA "1.1"
  27. #define AUTOR   "Milutinke (ByM)"
  28.  
  29. public plugin_init() {
  30.     register_plugin( IME, VERZIJA, AUTOR );
  31.    
  32.     if( !ProveriApdejt( IME, VERZIJA, "tron.mojkgb.com" ) ) {
  33.         LogujGresku( AutoApdejt_ZadnjaGreska( ) );
  34.     }
  35.     else {
  36.         if( DaLiJePluginApdejtovan( ) )
  37.             server_print( "Uspesan apdejt :D" )
  38.     }
  39.    
  40.     register_clcmd( "say /tup", "Tup")
  41. }
  42.  
  43. public Tup( id  ) {
  44.     set_hudmessage(255, 0, 0, -1.0, 0.3, 0, 6.0, 12.0)
  45.     show_hudmessage(id, "Radi eeeeeee :D")
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement