Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ============================================================= Pre Apdejta =====================================================================
- #include < auto_apdejt >
- #define IME "Test Update"
- #define VERZIJA "1.0"
- #define AUTOR "Milutinke (ByM)"
- public plugin_init() {
- register_plugin( IME, VERZIJA, AUTOR );
- if( !ProveriApdejt( IME, VERZIJA, "tron.mojkgb.com" ) ) {
- LogujGresku( AutoApdejt_ZadnjaGreska( ) );
- }
- else {
- if( DaLiJePluginApdejtovan( ) )
- server_print( "Uspesan apdejt :D" )
- }
- }
- ============================================================= Posle Apdejta ( Tj plugin za apdejt ) =====================================================================
- #include < auto_apdejt >
- #define IME "Test Update"
- #define VERZIJA "1.1"
- #define AUTOR "Milutinke (ByM)"
- public plugin_init() {
- register_plugin( IME, VERZIJA, AUTOR );
- if( !ProveriApdejt( IME, VERZIJA, "tron.mojkgb.com" ) ) {
- LogujGresku( AutoApdejt_ZadnjaGreska( ) );
- }
- else {
- if( DaLiJePluginApdejtovan( ) )
- server_print( "Uspesan apdejt :D" )
- }
- register_clcmd( "say /tup", "Tup")
- }
- public Tup( id ) {
- set_hudmessage(255, 0, 0, -1.0, 0.3, 0, 6.0, 12.0)
- show_hudmessage(id, "Radi eeeeeee :D")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement