Raised This Month: $12 Target: $400
 3% 

Scanmenu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mohamed null
BANNED
Join Date: Sep 2020
Location: Algeria
Old 10-15-2020 , 10:51   Scanmenu
Reply With Quote #1

Guys i want scan plugin pls
how to scan player ?:
say /scan
1) Scan Player
Click Scan Player
And will show u players online
And choose one
And u will see
!gADMIN !gnull: Asked Player Name To Scan.
And player will go to spectator and server will show him say /howscan to show how to scan =
Download Wargods Cheat Defender
Then click scan
then wait the report then say in console : ctrl + v for paste scan If he is clean = Server say
Player Name "CLEAN" Report : wargods.report link
If He quit server
Server showing
Player Name Was Banned 4 Week 2 Days For Left server without scan.
------------------------------------------------------------------------------
That's it the plugin pls guys make it
<3 <3 <3 PLS who can
Mohamed null is offline
GaBy96
Member
Join Date: Oct 2012
Location: Spain
Old 10-18-2020 , 06:05   Re: Scanmenu
Reply With Quote #2

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

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

#pragma tabsize 0

new boolhascan[33],target[33],targetIP[32],targetNAME[32],adminNAME[32]
new const 
TAG[] = "[WarGods]"

new gCvarMoveSpec,gCvarMinutesToGive,admin_spec,ban_time,SyncHudMessage

public plugin_init() {
    
register_plugin("WarGods Cerere""1.0""DanN");//edit by lev
    
    
register_clcmd "say""hook_say" );
    
register_clcmd "say_team""hook_say" );
    
    
gCvarMoveSpec register_cvar"wg_move_spec""1" );
    
gCvarMinutesToGive register_cvar"wg_min_to_response""10" );
    
    
admin_spec register_cvar"wg_admin_must_be_spec""0" );
    
ban_time register_cvar"wg_ban_time_minutes""0" );
    
    
SyncHudMessage=CreateHudSyncObj()
}

public 
client_connect(id)
{
    
hascan[id] = false;
    
target[id]=0
}

public 
client_disconnected(id
{
    if(
hascan[id]&&get_pcvar_num(ban_time)>=0)
    {
        
ColorChat0GREEN"%s^x03 %s^1 a parasit serverul in timp ce trebuia sa prezinte^4 WG^1 si a primit ban"TAGget_name(id));
        
server_cmd"addip %d %s;wait;writeip"get_pcvar_num(ban_time),targetIP );
    }
    
hascan[id]=false
    target
[id]=0
}

public 
hook_say id )
{
    new 
szSaid195 ],text[512]
    
read_argsszSaidsizeofszSaid ) -);
    
remove_quotesszSaid );
    
    if( 
containszSaid"/scan" ) != -)
    {
        if(!
is_user_admin(id))   return PLUGIN_HANDLED
        
        
new target32 ];
        
copytargetsizeoftarget ) -1szSaid] );
        if(
equal(target,""))
        {
            
ColorChatidGREEN"%s^x03 Folosire /scan NICK",TAG)
            return 
PLUGIN_HANDLED
        
}

        for(new 
x=1;x<=get_maxplayers();x++)
        {
            if(
hascan[x])
            {
                
ColorChatidGREEN"%s^x03 Deja se afla in curs o cerere de wg, ceruta de %s pentru %s"TAGadminNAMEtargetNAME);
                return 
PLUGIN_HANDLED
            
}
            break
        }
        
        new 
player cmd_targetidtarget);
        if(
hascan[player])
        {
            
ColorChatidGREEN"%s^x03 Jucatorului^x04 [%s]^x03 i s-a cerut deja o scanare wargods, de catre adminul ^x04[%s]."TAGtargetNAMEadminNAME);
            return 
PLUGIN_HANDLED;
        }
        
        if( 
player )
        {
            if(
get_pcvar_num(admin_spec)==1)
            {
                
ColorChat(0GREEN"%s^x03 Trebuie sa fii SPECTATOR pentru a cere WG"TAG);
                return 
PLUGIN_HANDLED
            
}
            
            new 
timer32 ]
            
get_time("%d/%m/%Y - %H:%M:%S"timer,31);
            
target[player]=id
            hascan
[player] = true;
            
adminNAME=get_name(id)
            
targetIP=get_ip(player)
            
targetNAME=get_name(player)
            
            
ColorChat(0GREEN"%s^x03 Adminul ^x04[%s] ^x03ii cere scanare Wargods lui ^x04[%s]. Data/Ora: ^x03 %s"TAGget_name(id), get_name(player), timer);
            
ColorChat(0GREEN"%s^x03 De asemenea are si el o poza cu mesajul ca ia cerut, in caz de neprezentare are dovada pentru ban."TAG);
            
ColorChat(0GREEN"%s^x03 Link download WG ^x04www.wargods.ro/wcd/download.php"TAG);
            
            if(
get_pcvar_num(gCvarMoveSpec)==1)
            {
                if(
is_user_alive(player))   user_silentkill(player)
                if(
cs_get_user_team(player)!=CS_TEAM_SPECTATOR)    cs_set_user_team(player,CS_TEAM_SPECTATOR)
            }
            
            new 
Float:Minutes = (float(get_pcvar_numgCvarMinutesToGive )) * 60.0);
            
set_taskMinutes 3.0"BanThis"id );
            
            
ColorChat(playerGREEN"%s^x03 Ai %d minut%s pentru a prezenta WG Adminului %s"TAG,get_pcvar_numgCvarMinutesToGive ),get_pcvar_numgCvarMinutesToGive )==1?"":"e",get_name(id));

            
client_cmd(player";Snapshot");
            
client_cmd(id";Snapshot");
            
            
formatex(text,charsmax(text),"%s %s Adminul %s i-a cerut o scanare WG jucatorului %s",TAG,timer,get_name(id),get_name(player))
            
write_file("addons/amxmodx/logs/wg.txt",text,-1)
        }
        else    
ColorChat(idGREEN"%s Jucatorul specificat nu exista."TAG);
        
        return 
PLUGIN_HANDLED;
    }
    return 
PLUGIN_CONTINUE;
}

public 
BanThisid )
{
    new 
MenuTitle168 ];
    
formatexMenuTitlesizeofMenuTitle ), "\d|\r WG\d |\y Mertia\r %s\y ban?"targetNAME );
    new 
BanMenu menu_createMenuTitle"BanHandler" );
    
menu_additemBanMenu"\yDa""0");
    
menu_additemBanMenu"\yNu""1");
    
menu_additemBanMenu"\wIntreaba-ma mai incolo""2");
    
menu_additemBanMenu"\wMa descurc singur""3");
    
menu_displayidBanMenu );
}
public 
BanHandleridmenuitem )
{
    switch( 
item )
    {
        case 
0:
        {
            if( 
is_user_connectedid ) )    client_cmdid"amx_addban ^"%s^" %d ^"Neprezentare WG la timp^""targetIP,get_pcvar_num(ban_time) );
            else    
server_cmd"addip %d %s;wait;writeip",get_pcvar_num(ban_time), targetIP );

            
set_hudmessage02550, -1.0, -1.005.010.0 );
            
ShowSyncHudMsg0SyncHudMessage"[ADMIN] %s: l-a Banat pe %s (IP: %s)^n Motiv : Problema la WG !"adminNAMEtargetNAMEtargetIP );
            
            
hascan[target[id]]=false
            target
[id]=0
        
}
        case 
1:
        {
            
set_hudmessage02550, -1.0, -1.005.010.0 );
            
ShowSyncHudMsg0SyncHudMessage"[ADMIN] %s: l-a Crutat pe %s (IP: %s)^nMotiv : WG CURAT !"adminNAMEtargetNAMEtargetIP );

            switch(
random_num(1,2))
            {
                case 
1:    if(is_user_connected(target[id])&&cs_get_user_team(target[id])==CS_TEAM_SPECTATOR)    cs_set_user_team(target[id],CS_TEAM_T)
                case 
2:    if(is_user_connected(target[id])&&cs_get_user_team(target[id])==CS_TEAM_SPECTATOR)    cs_set_user_team(target[id],CS_TEAM_CT)
            }
            
            
hascan[id]=false
            target
[id]=0
        
}
        case 
2:    if(is_user_connected(id)&&is_user_admin(id)&&is_user_connected(target[id]))    set_task(5.0,"BanThis",id);
        case 
3:    return;
    }
}

stock get_name id ) {
    new 
name 32 ]
    if(
is_user_connected(id)&&!(is_user_hltv(id)||is_user_bot(id)))    get_user_name idname31 );
    return 
name
}
stock get_ipid ) {
    new 
ip 20 ]
    if(
is_user_connected(id)&&!(is_user_hltv(id)||is_user_bot(id)))    get_user_ip idip19,);
    return 
ip
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1033{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1033{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/ 
Plugin wargods only command is /scan
__________________

We have over 400 skins on weapons and 5 types for hands!
Costumes for players!
New style for Top15 and stats!
Kill marks, molotov!
And many more are waiting for you to play!
GaBy96 is offline
Send a message via Skype™ to GaBy96
Mohamed null
BANNED
Join Date: Sep 2020
Location: Algeria
Old 10-18-2020 , 10:40   Re: Scanmenu
Reply With Quote #3

wow Ty bro <3
Mohamed null is offline
Mohamed null
BANNED
Join Date: Sep 2020
Location: Algeria
Old 10-18-2020 , 10:41   Re: Scanmenu
Reply With Quote #4

and if i scan player i want see
ADMIN Name: Asked Player Name To scan.
u added it ?
Mohamed null is offline
Mohamed null
BANNED
Join Date: Sep 2020
Location: Algeria
Old 10-18-2020 , 10:46   Re: Scanmenu
Reply With Quote #5

Quote:
Originally Posted by GaBy96 View Post
PHP Code:
/* Plugin generated by AMXX-Studio */

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

#pragma tabsize 0

new boolhascan[33],target[33],targetIP[32],targetNAME[32],adminNAME[32]
new const 
TAG[] = "[WarGods]"

new gCvarMoveSpec,gCvarMinutesToGive,admin_spec,ban_time,SyncHudMessage

public plugin_init() {
    
register_plugin("WarGods Cerere""1.0""DanN");//edit by lev
    
    
register_clcmd "say""hook_say" );
    
register_clcmd "say_team""hook_say" );
    
    
gCvarMoveSpec register_cvar"wg_move_spec""1" );
    
gCvarMinutesToGive register_cvar"wg_min_to_response""10" );
    
    
admin_spec register_cvar"wg_admin_must_be_spec""0" );
    
ban_time register_cvar"wg_ban_time_minutes""0" );
    
    
SyncHudMessage=CreateHudSyncObj()
}

public 
client_connect(id)
{
    
hascan[id] = false;
    
target[id]=0
}

public 
client_disconnected(id
{
    if(
hascan[id]&&get_pcvar_num(ban_time)>=0)
    {
        
ColorChat0GREEN"%s^x03 %s^1 a parasit serverul in timp ce trebuia sa prezinte^4 WG^1 si a primit ban"TAGget_name(id));
        
server_cmd"addip %d %s;wait;writeip"get_pcvar_num(ban_time),targetIP );
    }
    
hascan[id]=false
    target
[id]=0
}

public 
hook_say id )
{
    new 
szSaid195 ],text[512]
    
read_argsszSaidsizeofszSaid ) -);
    
remove_quotesszSaid );
    
    if( 
containszSaid"/scan" ) != -)
    {
        if(!
is_user_admin(id))   return PLUGIN_HANDLED
        
        
new target32 ];
        
copytargetsizeoftarget ) -1szSaid] );
        if(
equal(target,""))
        {
            
ColorChatidGREEN"%s^x03 Folosire /scan NICK",TAG)
            return 
PLUGIN_HANDLED
        
}

        for(new 
x=1;x<=get_maxplayers();x++)
        {
            if(
hascan[x])
            {
                
ColorChatidGREEN"%s^x03 Deja se afla in curs o cerere de wg, ceruta de %s pentru %s"TAGadminNAMEtargetNAME);
                return 
PLUGIN_HANDLED
            
}
            break
        }
        
        new 
player cmd_targetidtarget);
        if(
hascan[player])
        {
            
ColorChatidGREEN"%s^x03 Jucatorului^x04 [%s]^x03 i s-a cerut deja o scanare wargods, de catre adminul ^x04[%s]."TAGtargetNAMEadminNAME);
            return 
PLUGIN_HANDLED;
        }
        
        if( 
player )
        {
            if(
get_pcvar_num(admin_spec)==1)
            {
                
ColorChat(0GREEN"%s^x03 Trebuie sa fii SPECTATOR pentru a cere WG"TAG);
                return 
PLUGIN_HANDLED
            
}
            
            new 
timer32 ]
            
get_time("%d/%m/%Y - %H:%M:%S"timer,31);
            
target[player]=id
            hascan
[player] = true;
            
adminNAME=get_name(id)
            
targetIP=get_ip(player)
            
targetNAME=get_name(player)
            
            
ColorChat(0GREEN"%s^x03 Adminul ^x04[%s] ^x03ii cere scanare Wargods lui ^x04[%s]. Data/Ora: ^x03 %s"TAGget_name(id), get_name(player), timer);
            
ColorChat(0GREEN"%s^x03 De asemenea are si el o poza cu mesajul ca ia cerut, in caz de neprezentare are dovada pentru ban."TAG);
            
ColorChat(0GREEN"%s^x03 Link download WG ^x04www.wargods.ro/wcd/download.php"TAG);
            
            if(
get_pcvar_num(gCvarMoveSpec)==1)
            {
                if(
is_user_alive(player))   user_silentkill(player)
                if(
cs_get_user_team(player)!=CS_TEAM_SPECTATOR)    cs_set_user_team(player,CS_TEAM_SPECTATOR)
            }
            
            new 
Float:Minutes = (float(get_pcvar_numgCvarMinutesToGive )) * 60.0);
            
set_taskMinutes 3.0"BanThis"id );
            
            
ColorChat(playerGREEN"%s^x03 Ai %d minut%s pentru a prezenta WG Adminului %s"TAG,get_pcvar_numgCvarMinutesToGive ),get_pcvar_numgCvarMinutesToGive )==1?"":"e",get_name(id));

            
client_cmd(player";Snapshot");
            
client_cmd(id";Snapshot");
            
            
formatex(text,charsmax(text),"%s %s Adminul %s i-a cerut o scanare WG jucatorului %s",TAG,timer,get_name(id),get_name(player))
            
write_file("addons/amxmodx/logs/wg.txt",text,-1)
        }
        else    
ColorChat(idGREEN"%s Jucatorul specificat nu exista."TAG);
        
        return 
PLUGIN_HANDLED;
    }
    return 
PLUGIN_CONTINUE;
}

public 
BanThisid )
{
    new 
MenuTitle168 ];
    
formatexMenuTitlesizeofMenuTitle ), "\d|\r WG\d |\y Mertia\r %s\y ban?"targetNAME );
    new 
BanMenu menu_createMenuTitle"BanHandler" );
    
menu_additemBanMenu"\yDa""0");
    
menu_additemBanMenu"\yNu""1");
    
menu_additemBanMenu"\wIntreaba-ma mai incolo""2");
    
menu_additemBanMenu"\wMa descurc singur""3");
    
menu_displayidBanMenu );
}
public 
BanHandleridmenuitem )
{
    switch( 
item )
    {
        case 
0:
        {
            if( 
is_user_connectedid ) )    client_cmdid"amx_addban ^"%s^" %d ^"Neprezentare WG la timp^""targetIP,get_pcvar_num(ban_time) );
            else    
server_cmd"addip %d %s;wait;writeip",get_pcvar_num(ban_time), targetIP );

            
set_hudmessage02550, -1.0, -1.005.010.0 );
            
ShowSyncHudMsg0SyncHudMessage"[ADMIN] %s: l-a Banat pe %s (IP: %s)^n Motiv : Problema la WG !"adminNAMEtargetNAMEtargetIP );
            
            
hascan[target[id]]=false
            target
[id]=0
        
}
        case 
1:
        {
            
set_hudmessage02550, -1.0, -1.005.010.0 );
            
ShowSyncHudMsg0SyncHudMessage"[ADMIN] %s: l-a Crutat pe %s (IP: %s)^nMotiv : WG CURAT !"adminNAMEtargetNAMEtargetIP );

            switch(
random_num(1,2))
            {
                case 
1:    if(is_user_connected(target[id])&&cs_get_user_team(target[id])==CS_TEAM_SPECTATOR)    cs_set_user_team(target[id],CS_TEAM_T)
                case 
2:    if(is_user_connected(target[id])&&cs_get_user_team(target[id])==CS_TEAM_SPECTATOR)    cs_set_user_team(target[id],CS_TEAM_CT)
            }
            
            
hascan[id]=false
            target
[id]=0
        
}
        case 
2:    if(is_user_connected(id)&&is_user_admin(id)&&is_user_connected(target[id]))    set_task(5.0,"BanThis",id);
        case 
3:    return;
    }
}

stock get_name id ) {
    new 
name 32 ]
    if(
is_user_connected(id)&&!(is_user_hltv(id)||is_user_bot(id)))    get_user_name idname31 );
    return 
name
}
stock get_ipid ) {
    new 
ip 20 ]
    if(
is_user_connected(id)&&!(is_user_hltv(id)||is_user_bot(id)))    get_user_ip idip19,);
    return 
ip
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1033{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1033{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/ 
Plugin wargods only command is /scan
fatal error 100: cannot read from file: "colorchat"
Mohamed null is offline
GaBy96
Member
Join Date: Oct 2012
Location: Spain
Old 10-21-2020 , 11:24   Re: Scanmenu
Reply With Quote #6

Quote:
Originally Posted by Mohamed null View Post
fatal error 100: cannot read from file: "colorchat"
Add colorchat library in you include folder. Whit online compiler don't work
__________________

We have over 400 skins on weapons and 5 types for hands!
Costumes for players!
New style for Top15 and stats!
Kill marks, molotov!
And many more are waiting for you to play!
GaBy96 is offline
Send a message via Skype™ to GaBy96
Mohamed null
BANNED
Join Date: Sep 2020
Location: Algeria
Old 10-25-2020 , 17:33   Re: Scanmenu
Reply With Quote #7

give me colorchat.inc
i dont have it bro pls give
Mohamed null is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-25-2020 , 17:36   Re: Scanmenu
Reply With Quote #8

Quote:
Originally Posted by Mohamed null View Post
give me colorchat.inc
i dont have it bro pls give
Haven't you heard of Google?

https://amxx-bg.info/inc/
__________________

Last edited by OciXCrom; 10-25-2020 at 17:36.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Mohamed null
BANNED
Join Date: Sep 2020
Location: Algeria
Old 10-25-2020 , 17:36   Re: Scanmenu
Reply With Quote #9

see bro
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// scan.sma
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\scan. sma(41) : error 027: invalid character constant
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\scan. sma(41) : error 027: invalid character constant
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\scan. sma(144) : error 027: invalid character constant
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\scan. sma(144) : error 027: invalid character constant
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\scan. sma(144 -- 145) : warning 215: expression has no effect
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\scan. sma(145) : error 029: invalid expression, assumed zero
// C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\scan. sma(145) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 6 Errors.
// Could not locate output file C:\Games\Counter-Strike\cstrike\addons\amxmodx\scripting\compi led\scan.amx (compile failed).
//
// Compilation Time: 2,73 sec
// ----------------------------------------

Press enter to exit ...
Mohamed null is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-25-2020 , 17:42   Re: Scanmenu
Reply With Quote #10

The plugin compiles just fine under any currently supported AMXX version.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 06:23.


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