User
Pass
2FA
 
 

Cerere plugin

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Help zone -> Counter-Strike AMX Mod X -> Client/Server Help -> Counter-Strike: Help zone
Author Message707
vyrus|2009

[Șeful ]



Status: Offline
(since 18-04-2019 02: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, 16: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 22-09-2019 22:00)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 513.9
Votes: 118

   
Post Posted: 22-08-2016, 07: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 07:11



 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Help zone -> Counter-Strike AMX Mod X -> Client/Server Help -> Counter-Strike: Help zone  


The time now is 22-11-2019, 22:55:08
Copyright info

Based on phpBB ro/com

 
 
 







I forgot my password


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