User
Pass
2FA
 
 

[REZOLVAT]cerere happyhour plugin
Go to page 1, 2  Next    
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message5261
eGood

[Zãt.^_^]



Status: Offline
(since 17-05-2018 18:49)
Joined: 03 Sep 2013
Posts: 2340, Topics: 87
Location: Constanta

Reputation: 3.4
Votes: 77

 
Post Posted: 19-07-2017, 15:54:50 | Translate post to: ... (Click for more languages)

Descriere plugin: Cu o comanda sa pot sa dau vip la toti playerii pentru x minute
Alte detalii: Daca aveti nevoie de ceva sa-mi spuneti ca nu ma pricep la facut pluginuri
Exemplu: -

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Q3R6hO [+]
[Banned user]


Banned


Status: Offline
(since 08-12-2017 19:59)
Joined: 10 Aug 2016
Posts: 3096, Topics: 387
Location: ~Moldova~

Reputation: -200.8
Votes: 168

       
Post Posted: 19-07-2017, 17:12:19 | Translate post to: ... (Click for more languages)

Nu prea găsești așa ceva pe net.
Dacă vrei un plugin de ăsta unic,te costă,nimeni nuți va face moca.



0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
GoreSpintecatoru.

[Inactiv o perioada]



Status: Offline
(since 09-11-2017 19:29)
Joined: 18 Feb 2017
Posts: 638, Topics: 28
Location: Romania

Reputation: 762.7
Votes: 40

       
Post Posted: 19-07-2017, 17:51:23 | Translate post to: ... (Click for more languages)

@Q3R6hO [+] , te rog sa nu te bagi aiurea.


Severul tau este Zombie?


Regulament|My Official Website[V:1.1]|Panel JB[V:1.0]

0 1
  
Back to top
View user's profile Send private message
eGood

[Zãt.^_^]



Status: Offline
(since 17-05-2018 18:49)
Joined: 03 Sep 2013
Posts: 2340, Topics: 87
Location: Constanta

Reputation: 3.4
Votes: 77

 
Post Posted: 19-07-2017, 21:15:25 | Translate post to: ... (Click for more languages)

Nu, sever-ul meu este mod furien clasic, am vreo 4 beneficii diferite, gen bronze (acces ors), silver member (acces nor) , gold (ort), platium (mor), diamond (or). As vrea ca printr-o comanda pe care o tastez in consola sa dea la toti playerii de pe server Diamond member pentru cateva minute vreau eu sau sa stabilesc din fisier intre ce ore sa fie vip. Exista asa ceva? Stiu ca @destroi se ocupa de pluginuri de genu.

Update @ 19-07-2017, 22:15:25

Nu, sever-ul meu este mod furien clasic, am vreo 4 beneficii diferite, gen bronze (acces ors), silver member (acces nor) , gold (ort), platium (mor), diamond (or). As vrea ca printr-o comanda pe care o tastez in consola sa dea la toti playerii de pe server Diamond member pentru cateva minute vreau eu sau sa stabilesc din fisier intre ce ore sa fie vip. Exista asa ceva? Stiu ca @destroi se ocupa de pluginuri de genu.

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 21-07-2017, 03:11:52 | Translate post to: ... (Click for more languages)

Spoiler:



Retired from Amxmodx

0 0
  
Back to top
View user's profile Send private message
eGood

[Zãt.^_^]



Status: Offline
(since 17-05-2018 18:49)
Joined: 03 Sep 2013
Posts: 2340, Topics: 87
Location: Constanta

Reputation: 3.4
Votes: 77

 
Post Posted: 21-07-2017, 10:30:46 | Translate post to: ... (Click for more languages)

destroi112 wrote:
Spoiler:


Poti sa-mi setezi te rog sa fie vip intre orele 1 si 2 ziua. Se poate ca printr-o comanda sa pun la playeri vip pentru x minute?

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 21-07-2017, 17:38:03 | Translate post to: ... (Click for more languages)

Ai aici cvar-urile
Code:

gived_flag = register_cvar("amx_vflags","or");
interval_1 = register_cvar("amx_firsthour","21");
interval_2 = register_cvar("amx_lasthour","22");

interval_1 e ora la care incepe si interval_2 e ora la care sa se termine , gived_flag e flagul pe care sa il dea playerilor.



Retired from Amxmodx

0 0
  
Back to top
View user's profile Send private message
eGood

[Zãt.^_^]



Status: Offline
(since 17-05-2018 18:49)
Joined: 03 Sep 2013
Posts: 2340, Topics: 87
Location: Constanta

Reputation: 3.4
Votes: 77

 
Post Posted: 22-07-2017, 09:56:37 | Translate post to: ... (Click for more languages)

Multumesc
0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
GoreSpintecatoru.

[Inactiv o perioada]



Status: Offline
(since 09-11-2017 19:29)
Joined: 18 Feb 2017
Posts: 638, Topics: 28
Location: Romania

Reputation: 762.7
Votes: 40

       
Post Posted: 22-07-2017, 10:17:12 | Translate post to: ... (Click for more languages)

Rezolvat?

Regulament|My Official Website[V:1.1]|Panel JB[V:1.0]

0 0
  
Back to top
View user's profile Send private message
eGood

[Zãt.^_^]



Status: Offline
(since 17-05-2018 18:49)
Joined: 03 Sep 2013
Posts: 2340, Topics: 87
Location: Constanta

Reputation: 3.4
Votes: 77

 
Post Posted: 22-07-2017, 21:21:05 | Translate post to: ... (Click for more languages)

Nu-mi merge.. am pus sa aiba beneficii playerii intre orele 20-21 si nu le da beneficii.. ce are?
0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
GoreSpintecatoru.

[Inactiv o perioada]



Status: Offline
(since 09-11-2017 19:29)
Joined: 18 Feb 2017
Posts: 638, Topics: 28
Location: Romania

Reputation: 762.7
Votes: 40

       
Post Posted: 22-07-2017, 21:45:53 | Translate post to: ... (Click for more languages)

Ia vezi plugin-u asta
Code:
#include <amxmodx>
#include <amxmisc>

const TASK_ID = 258;

new task_set = 0;
new inceput,
    sfarsit,
    flag_vip,
   h

public plugin_init()
{
   register_plugin("vip ora", "3.0", "cyby // editat de LOL")
   
   register_dictionary("vip_free.txt")
   inceput = register_cvar( "vip_start", "20" );
   sfarsit = register_cvar( "vip_end", "21" )
   flag_vip = register_cvar( "vip_flag", "16384131072" )
   
}

public client_putinserver(id)
{
   new o, m, s;
   time(o, m, s)
   if(o >= get_pcvar_num( inceput ) && o < get_pcvar_num( sfarsit ))
   {
      if( get_user_flags(id) != get_pcvar_num( flag_vip ) )
      {
         set_user_flags(id, get_pcvar_num( flag_vip ))
         set_task(3.0, "mesaj", id)
         set_task(1.0, "hud_mess", _, _, _, "b")
         set_task(60.0, "incepe", id)
         set_task(60.0, "terminare", id)
      }
      if( !task_set )
      {
         set_task( 60.0, "recheck", TASK_ID, _, _, "b" ); // task pus la 1 minut pentru a functiona corect
         task_set = 1;
      }
   }
}
public recheck()
{

   time( h, _, _ );
   
   if( h >= 23 )
   {
      new iPlayers[ 32 ], iNum, i;
      get_players( iPlayers, iNum );
      
      for( i = 0; i < iNum; i++ )
      {
         remove_user_flags( iPlayers[ i ] );
      }
      
      server_cmd( "amx_reloadadmins" );
      
      remove_task( TASK_ID );
      task_set = 0;
   }
}
public incepe(id)
{
   new o, m, s;
   time(o, m, s)
   if(o == get_pcvar_num( inceput ) )
      ColorChat(id, "%L", LANG_SERVER, "MESAJ_INCEPUT")
}
public terminare(id)
{
   new o, m, s;
   time(o, m, s)
   if(o == get_pcvar_num( sfarsit ) )
      ColorChat(id,  "%L", LANG_SERVER, "MESAJ_SFARSIT")
}
public hud_mess()
{
   new o, m, s;
   time(o, m, s)
   if(o >= get_pcvar_num( inceput ) && o < get_pcvar_num( sfarsit ))
   {
      set_hudmessage(random(256), random(256), random(256), 0.00, 0.17, 1, 1.0, 1.1, 0.1, 0.1, -1)
      show_hudmessage(0, "%L", LANG_SERVER, "MESAJ_HUD")
   }
}
public mesaj(id)
{
        if( get_user_flags(id) != get_pcvar_num( flag_vip ) )
      {
      
      ColorChat(id, "%L", LANG_SERVER, "MESAJ_INTRARE", get_pcvar_num( inceput ), get_pcvar_num( sfarsit ))
      
      }
}
stock ColorChat(const id, const input[], any:...) {
   new count = 1, players[32];
   static msg[191];
   vformat(msg, 190, input, 3);
   
   replace_all(msg, 190, "!g", "^4");
   replace_all(msg, 190, "!n", "^1");
   replace_all(msg, 190, "!t", "^3");
   
   if(id) players[0] = id;
   else get_players(players, count, "ch"); {
      for(new i = 0; i < count; i++) {
         if(is_user_connected(players[i])) {
            message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
            write_byte(players[i]);
            write_string(msg);
            message_end();
         }
      }
   }
}


lang:
Spoiler:


flaguri:
Spoiler:

Pluginu asta l-am gasit prin arhive , vezi daca e ceva de el.


Regulament|My Official Website[V:1.1]|Panel JB[V:1.0]

0 0
  
Back to top
View user's profile Send private message
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 23-07-2017, 00:39:29 | Translate post to: ... (Click for more languages)

Am uitat ... Vezi acum.
Code:

server_cmd( "amx_reloadadmins" );

Spoiler:



Retired from Amxmodx

0 0
  
Back to top
View user's profile Send private message
eGood

[Zãt.^_^]



Status: Offline
(since 17-05-2018 18:49)
Joined: 03 Sep 2013
Posts: 2340, Topics: 87
Location: Constanta

Reputation: 3.4
Votes: 77

 
Post Posted: 23-07-2017, 11:13:55 | Translate post to: ... (Click for more languages)

Nu merge nici acum destroi...
@gore nici al tau nu merge...

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Adryyy

[HLDS EXPLOITER]



Status: Offline
(since 16-09-2024 14:37)
Joined: 09 Apr 2012
Posts: 128, Topics: 6
Location: Romania

Reputation: 117.3
Votes: 10

       
Post Posted: 27-07-2017, 10:01:21 | Translate post to: ... (Click for more languages)

Ca sã aibã beneficii, trebuie sã aibe un anumit(sau anumite) flag/e. De ex. tu ai un plugin de vip care e pe flagul T(ADMIN_LEVEL_H), deci, ca sã aibã toți(mai puțin cei cu acces) acces la acele beneficii, trebuie sã le setezi flagul t ca default.

Spoiler:

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
eGood

[Zãt.^_^]



Status: Offline
(since 17-05-2018 18:49)
Joined: 03 Sep 2013
Posts: 2340, Topics: 87
Location: Constanta

Reputation: 3.4
Votes: 77

 
Post Posted: 10-08-2017, 11:03:03 | Translate post to: ... (Click for more languages)

Adryyy wrote:
Ca sã aibã beneficii, trebuie sã aibe un anumit(sau anumite) flag/e. De ex. tu ai un plugin de vip care e pe flagul T(ADMIN_LEVEL_H), deci, ca sã aibã toți(mai puțin cei cu acces) acces la acele beneficii, trebuie sã le setezi flagul t ca default.

Spoiler:


Pe langa acest plugin trebuie si alte fisiere ? ca nu prea inteleg

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by GoreSpintecatoru., 22 August 2017 18:01



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  
Go to page 1, 2  Next    


The time now is 10-11-2024, 05:51:31
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x