Raised This Month: $ Target: $400
 0% 

Snapshot plugin help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mantukas1112
New Member
Join Date: Mar 2009
Old 01-02-2010 , 14:50   Snapshot plugin help
Reply With Quote #1

Can you help? I need to spanshot made by 3rd And Nick and not to all.

Sorry you have difficulty speaking English...


Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Nowy Plugin"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"

#define ACCESS ADMIN_BAN

public plugin_init() 
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("say .ss","take_shot",ACCESS)
}

public take_shot(id,level,cid)
{
    if(!cmd_access(id,level,cid,1))
        return PLUGIN_HANDLED    
    
    static players[32], name[33], datetime[22], playerCount, i, player
    get_players(players, playerCount, "ch")
    for(i = 0; i < playerCount; i++)
    {
        player = players[i]       
        get_time("%c",datetime,21)
        get_user_name(player,name,32)
        client_print(player,print_chat,"Taking screenshot on %s (%s)",name,datetime)    
        console_cmd(player,"snapshot")        
    }
    
    return PLUGIN_HANDLED
}
mantukas1112 is offline
 



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 04:12.


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