AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   need amx_ss signed screenshot (https://forums.alliedmods.net/showthread.php?t=328696)

Danielx931 11-21-2020 14:17

need amx_ss signed screenshot
 
I searched everywhere but I did not find a functional signed screenshot plugin...all have bugs
anyoane can modify this plugin to make screenshots with 250 hp and 250 ap.....thank you
PHP Code:

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <colorchat>


public plugin_init() {
    
register_plugin("Amx ss""1.0""");
    
register_concmd("amx_ss""Snapshot"ADMIN_KICK"<name>");
    
register_concmd("amx_snapshot""Snapshot"ADMIN_KICK"<name>");

    }

public 
Snapshot(idlevelcid) {
    if(!
cmd_access(idlevelcid2)) {
    return 
PLUGIN_HANDLED;
    }
    
    new 
arg[23], name[32], hostname[64], tname[32],
    
usrip[32], timer[32];
    
get_user_name(idname31);
    
read_argv(1arg23);
   
    new 
player cmd_target(idarg11);
    if(!
player) {
    
console_print(id"The player with this name does not exist.");
    return 
PLUGIN_HANDLED;
    }
    if(!
is_user_alive(player)) {
    
console_print(id"You can't use this command on a dead player.");
    return 
PLUGIN_HANDLED;
    }

    
get_cvar_string("hostname",hostname,63);
    
get_user_name(player,tname,31);
    
get_user_name(idname31);
    
get_user_ip(player,usrip,31);
    
get_time("%d/%m/%Y - %H:%M:%S"timer,31);
   
    
ColorChat(playerGREEN"^x04 Screenshots taken on the server : ^x03 %s^x04 by^x03 %s",hostnamename);
    
ColorChat(playerGREEN"^x04 Name : ^x03 %s^x04 with IP:^x03 %s",tname,usrip);
    
ColorChat(playerGREEN"^x04 Date and time : ^x03 %s",timer);
        
        
console_print(player"* Screenshots taken on you : by %s"name)
    
console_print(player"* Your name :  ^"%s^" with IP: %s",tname,usrip)
    
console_print(player"* Date and time : %s",timer)
    
set_task(0.1"ss"player)
    
set_task(0.4"ss"player)
    
set_task(0.7"blind"player)
    
set_task(1.4"ss"player)
    
set_task(1.5"unblind"player)
    
set_task(1.5"killsp"player)
    return 
PLUGIN_HANDLED;
    }

public 
killsp(id) {
    
user_silentkill(id);
    
cs_set_user_team(idCS_TEAM_SPECTATOR);
    }
public 
ss(id) {
    
client_cmd(id,"snapshot")
    }
public 
blind(id) {
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("ScreenFade"), _id)
    
write_short((1<<3)|(1<<8)|(1<<10))
    
write_short((1<<3)|(1<<8)|(1<<10))
    
write_short((1<<0)|(1<<2))
    
write_byte(255)
    
write_byte(255)
    
write_byte(255)
    
write_byte(255)
    
message_end()
    }

public 
unblind(id) {
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("ScreenFade"), _id)
    
write_short(1<<2)
    
write_short(0)
    
write_short(0)
    
write_byte(0)
    
write_byte(0)
    
write_byte(0)
    
write_byte(0)
    
message_end()
    }
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/ 


Danielx931 11-23-2020 22:24

Re: need amx_ss signed screenshot
 
Someone ?...

fysiks 11-23-2020 23:06

Re: need amx_ss signed screenshot
 
How are you defining a "signed screenshot"? Aren't the chat message enough to create a unique screenshot?

Also, don't expect an immediate response (less than a week) on a any forum.

OciXCrom 11-24-2020 08:14

Re: need amx_ss signed screenshot
 
Don't you know the HP bar is much easier to Photoshop than the chat?

Danielx931 11-26-2020 09:40

Re: need amx_ss signed screenshot
 
Quote:

Originally Posted by fysiks (Post 2726060)
How are you defining a "signed screenshot"? Aren't the chat message enough to create a unique screenshot?

Also, don't expect an immediate response (less than a week) on a any forum.

No problem i can wait :shock:

Danielx931 12-17-2020 23:09

Re: need amx_ss signed screenshot
 
I still need this plugin anyone?


All times are GMT -4. The time now is 00:31.

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