This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Auto Screen Shot


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Row
BANNED
Join Date: Jun 2013
Location: Romania
Old 06-23-2013 , 06:38   Auto Screen Shot
Reply With Quote #1

Auto Screen Shot

This plugin make photos from 30 seconds in 30 seconds + an mesajge

cvar :

amx_Cvar sv_autoss 1/0
amx_Cvar sv_autoss_msg 1/0 ( to enable the mesage on photo you )

Source :

PHP Code:
#include <amxmodx>
#define PLUGIN "Auto ScreenShot "
#define VERSION "0.1"
#define AUTHOR "LordOfNothing"
 
public plugin_init() {   
register_plugin(PLUGINVERSIONAUTHOR)   
set_task(30.0,"AutoSS",0,"",0,"b",0)
set_task(30.0,"AutoSSmsg",0,"",0,"b",0)
register_cvar("sv_autoss","1")
register_cvar("sv_autoss_msg","1")
return 
PLUGIN_CONTINUE 
}
 
public 
AutoSS(id) { 
if (
get_cvar_num("sv_autoss")!=1) return PLUGIN_CONTINUE 
 
      client_cmd
(id,"snapshot;screenshot");
      return 
PLUGIN_CONTINUE 

public 
AutoSSmsg(id) { 
if (
get_cvar_num("sv_autoss_msg")!=1) return PLUGIN_CONTINUE 
 
      client_print
(idprint_chat"[Auto Screen Shot]  %s  ",xTime(id));
      return 
PLUGIN_CONTINUE 
}
stock xTime(id)
{
new 
CurrentTime[9
get_time("%H:%M:%S",CurrentTime,8
return 
CurrentTime;

Row is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode