User
Pass
2FA
 
 

Cerere plugin

 
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) -> Counter-Strike: Help zone
Author Message1054
vyrus|2009

[Șeful ]



Status: Offline
(since 17-04-2019 23:03)
Joined: 18 Mar 2010
Posts: 3486, Topics: 292
Location: Cartierul de valorosi $$$

Reputation: 53.5
Votes: 261

            Battletag: postrow.ID_BATTLE_NET} 
Post Posted: 03-05-2016, 15:44:23 | Translate post to: ... (Click for more languages)

Salut , vreau si eu un plugin pentru autodemo pentru basebuild , vreau sa faca cate un demo pentru fiecare runda daca se poate (am vazut asta pe un server) .
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: 22-08-2016, 06:08:52 | Translate post to: ... (Click for more languages)

Code:

#include <amxmodx>

#define PLUGIN   "New Plugin"
#define AUTHOR   "D3luxe"
#define VERSION   "1.0"
   
new count[33];
public plugin_init()
{
   register_plugin(PLUGIN, VERSION, AUTHOR);
   register_logevent("RoundStart", 2, "1=Round_Start");
   register_logevent("RoundEnd", 2, "1=Round_End");
   register_logevent("RoundEnd", 2, "1&Restart_Round_");
   // Add your own code here
}
public client_putinserver(id)
{
   count[id] = 0;
}
public RoundStart()
{
   for(new i = 0; i < get_maxplayers() ;i++)
   {
      count[i]++;
      engclient_cmd(i,"record demo_round%d",count);
   }   
}
public RoundEnd()
{
   for(new id = 0; id < get_maxplayers() ;id++)
      engclient_cmd( id, "stop");
}

Nu prea recomand asta , iti irosesti memoria pc-ului degeaba in + pentru cei cu steam nu merge.



Retired from Amxmodx

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

  Topic locked


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

Locked by destroi112, 22 August 2016 04:11



 
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) -> Counter-Strike: Help zone  


The time now is 19-04-2024, 17:37:05
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