AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Snapshot plugin help (https://forums.alliedmods.net/showthread.php?t=114187)

mantukas1112 01-02-2010 14:50

Snapshot plugin help
 
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
}


fysiks 01-02-2010 15:16

Re: Snapshot plugin help
 
Quote:

Originally Posted by mantukas1112 (Post 1040341)
Can you help? I need to spanshot made by 3rd And Nick and not to all.

What???

Quote:

Originally Posted by mantukas1112 (Post 1040341)
Sorry you have difficulty speaking English...

No I don't!

Mxnn 01-02-2010 18:56

Re: Snapshot plugin help
 
What is you problem?

crazyeffect 01-02-2010 18:57

Re: Snapshot plugin help
 
Quote:

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Header size: 368 bytes
Code size: 1624 bytes
Data size: 836 bytes
Stack/heap size: 16384 bytes; estimated max. usage=781 cells (3124 bytes)
Total requirements: 19212 bytes
Done.


All times are GMT -4. The time now is 04:12.

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