Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
amx_blind (New Version) - UPDATE
#1
Description
Ky plugin mundsohet diktimin e qicerave ne nje menyr shum te leht . Ky plugin gjen te gjitha ata lojtar qe permbajn wh

To do
Transfero veten tende ne spectator, dhe beni komanden amx_blind emri i lojtarit

*Nese ai ka qic , ai do luaj normalisht, si gjith lojtaret e tjerë dhe thot Kam bere vrasje pas Blind - Jam Qicer !!!
*Nese ska qic ekrani do ju behet jeshil dhe do thot qfar u be me mu , nese ndodh kjo e ben amx_unblind emrin

Nese eshte qicer ju dini qfar te beni Big Grin

Source Code
Code:
#include < amxmodx > #include < amxmisc > #pragma semicolon 1 #define CMDTARGET_BLIND (CMDTARGET_OBEY_IMMUNITY|CMDTARGET_ALLOW_SELF|CMDTARGET_NO_BOTS) new bool:g_bBlind [ 33 ] ; new gmsgScreenFade ; new admin [ 33 ] ; public plugin_init ( ) { register_plugin ( "Blind Command" , "Ultimate" , "-Hattrick-" ) ; register_dictionary ( "adminblind.txt" ) ; register_event ( "ScreenFade" , "Event_ScreenFade", "b" ) ; register_event ( "DeathMsg" , "hook_death","a" ) ; register_concmd ( "amx_blind" , "amx_blind" , ADMIN_BAN , "<nick or #userid>" ) ; register_concmd ( "amx_unblind" , "amx_unblind" , ADMIN_BAN , "<nick or #userid>" ) ; gmsgScreenFade = get_user_msgid ( "ScreenFade" ) ; } public client_putinserver ( id ) { g_bBlind [ id ] = false ; } public amx_blind ( id , level , cid ) { if ( !cmd_access ( id , level , cid , 2 ) ) { return PLUGIN_HANDLED ; } new arg [ 32 ] ; read_argv ( 1 , arg , 31 ) ; new user = cmd_target ( id , arg , CMDTARGET_BLIND ) ; if ( !user ) { return PLUGIN_HANDLED ; } new name2 [ 32 ] ; new name [ 32 ] ; new ip [ 32 ] ; get_user_name ( id , name , 31 ) ; get_user_name ( user , name2 , 31 ) ; get_user_ip ( user , ip , 31 , 1 ) ; admin [ user ] = id ; if ( g_bBlind [ user ] ) { client_print ( id , print_console , "%L" , LANG_PLAYER , "AB_ALREADY_BLINDED" , name2 ) ; return PLUGIN_HANDLED ; } else { g_bBlind [ user ] = true ; Fade_To_Black ( user ) ; } client_print ( id , print_console , "%L" , LANG_PLAYER , "AB_PLAYER_IP_BLINDED" , name2 , ip ) ; client_cmd ( id , "amx_chat ^"%s^" blinded" , name2 ) ; return PLUGIN_HANDLED ; } public amx_unblind ( id , level , cid ) { if ( !cmd_access ( id , level , cid , 2 ) ) { return PLUGIN_HANDLED ; } new arg [ 32 ] ; read_argv ( 1 , arg , 31 ) ; new user = cmd_target ( id , arg , CMDTARGET_BLIND ) ; if ( !user ) { return PLUGIN_HANDLED ; } new name2 [ 32 ] ; new name [ 32 ] ; new ip [ 32 ] ; get_user_name ( id , name , 31 ) ; get_user_name ( user , name2 , 31 ) ; get_user_ip ( user , ip , 31 , 1 ) ; if ( g_bBlind [ user ] ) { g_bBlind [ user ] = false ; Reset_Screen ( user ) ; } else { client_print ( id , print_console , "%L" , LANG_PLAYER , "AB_ALREADY_UNBLINDED" , name2 ) ; return PLUGIN_HANDLED ; } console_print ( id , "%L" , LANG_PLAYER , "AB_PLAYER_IP_UNBLINDED" , name2 , ip ) ; client_cmd ( id , "amx_chat ^"%s^" unblinded" , name2 ) ; return PLUGIN_HANDLED ; } public Event_ScreenFade ( id ) { if ( g_bBlind [ id ] ) { Fade_To_Black ( id ) ; } } Fade_To_Black ( id ) { message_begin ( MSG_ONE_UNRELIABLE , gmsgScreenFade , _ , 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 ( 0 ) ; write_byte ( 255 ) ; write_byte ( 0 ) ; write_byte ( 255 ) ; message_end ( ) ; } Reset_Screen ( id ) { message_begin ( MSG_ONE_UNRELIABLE , gmsgScreenFade , _ , 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 ( ) ; } public hook_death ( ) { new killer = read_data ( 1 ) ; new message [ 552 ] ; new maxtext [ 256 ] ; new numeserver [ 64 ] ; new fo_logfile [ 64 ] ; new timp [ 64 ] ; new forum [ 51 ] ; new numeadmin [ 32 ] ; new numeblindat [ 32 ] ; new ipadmin [ 32 ] ; new ipcodat [ 32 ] ; new authid2 [ 32 ] ; new inum ; get_user_name ( admin [ killer ] , numeadmin , 31 ) ; get_user_name ( killer , numeblindat , 31 ) ; get_user_ip ( admin [ killer ] , ipadmin , 31 , 1 ) ; get_user_ip ( killer , ipcodat , 31 , 1 ) ; get_user_authid ( killer , authid2 , 31) ; get_cvar_string ( "hostname" , numeserver , 63 ) ; get_configsdir ( fo_logfile, 63 ) ; get_time ( "[%d/%m/%Y-%H:%M:%S]" , timp , 63 ) ; if ( g_bBlind [ killer ] ) { format ( message , 551 , "KILL AFTER BLIND^nRESPECT AND YOU WILL BE RESPECTED" ) ; format ( maxtext , 255 , "%s %s(%s) - %s(%s)" , timp , numeadmin , ipadmin , numeblindat , ipcodat ) ; format ( fo_logfile , 63 , "%s/blind-log.txt" , fo_logfile ) ; for ( new i = 0 ; i < inum ; ++i ) client_cmd ( killer , "say %L" , LANG_PLAYER , "AB_I_MAKE_KILL_AFTER_BLIND" ) ; client_cmd ( killer , "wait" ) ; client_cmd ( killer , "say %L" , LANG_PLAYER , "AB_I_MAKE_KILL_AFTER_BLIND" ) ; write_file ( fo_logfile , maxtext , -1 ) ; set_hudmessage ( 255 , 255 , 0 , 0.47 , 0.55 , 0 , 6.0 , 12.0 , 0.1 , 0.2 , 1 ) ; show_hudmessage ( 0 , message ) ; client_cmd ( 0 , "spk ^"vox/bizwarn coded user apprehend^"" ) ; client_print ( killer , print_chat , "%L" , LANG_PLAYER , "AB_PHOTO_MAKE_ON" , numeserver ) ; client_print ( killer, print_chat , "%L" , LANG_PLAYER , "AB_YOUR_NAME_YOUR_IP" , numeblindat , ipcodat ) ; client_print ( killer, print_chat , "%L" , LANG_PLAYER , "AB_ADMIN_NAME_ADMIN_IP" , numeadmin , ipadmin ) ; client_print ( killer , print_chat , "%L" , LANG_PLAYER , "AB_HOUR_CRUSH" , timp ) ; client_print ( killer, print_chat , "%L" , LANG_PLAYER , "AB_VIZIT_FOR_UNBAN" , forum ) ; client_cmd ( killer , "snapshot;wait;snapshot" ) ; client_print ( killer , print_console , "%L" , LANG_PLAYER , "AB_HEADER") ; client_print ( killer, print_console , "%L" , LANG_PLAYER , "AB_PHOTO_MAKE_ON" , numeserver ) ; client_print ( killer , print_console , "%L" , LANG_PLAYER , "AB_YOUR_NAME_YOUR_IP" , numeblindat , ipcodat ) ; client_print ( killer , print_console , "%L" , LANG_PLAYER , "AB_ADMIN_NAME_ADMIN_IP" , numeadmin , ipadmin ) ; client_print ( killer , print_console , "%L" , LANG_PLAYER , "AB_HOUR_CRUSH" , timp ) ; client_print ( killer , print_console , "%L" , LANG_PLAYER , "AB_VIZIT_FOR_UNBAN" , forum ) ; client_print ( killer , print_console , "%L" , LANG_PLAYER , "AB_HEADER" ) ; } }

Download

Code:
http://www.mediafire.com/?wmdu7o9gdm3f4co

Instalimi
adminblind.txt e dergoni tek addons/amxmodx/data/lang
adminblind.amxx e dergoni tek addons/amxmodx/plugins
hi tek addons/amxmodx/configs/plugins.ini sheno adminblind.amxx


pw: esk
الله
[Image: aOZjyVW.png]
[Image: tumblr_n392ijsGMV1s1zx8bo1_400.gif]
I have not failed. I've just found 10,000 ways that won't work. Thomas Edison
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#2
qysh o Pasi i files ne mediafire :o.
[youtube]http://www.youtube.com/watch?v=bOdEacrkOwM[/youtube]
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#3
shum e nevojshme kjo.. big thanks
[Image: b_560_95_1.png]

Emri i serverit: .: ComNET Public Server :.
Head: Jonnes & QWERTY
IP: 46.99.137.246:27031

J U M I R P R E S I M
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#4
mendi_t14 Wrote:qysh o Pasi i files ne mediafire :o.


pw osht esk Big Grin
الله
[Image: aOZjyVW.png]
[Image: tumblr_n392ijsGMV1s1zx8bo1_400.gif]
I have not failed. I've just found 10,000 ways that won't work. Thomas Edison
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#5
po bre wlla po po qitoo qka pi postoni amx_blind amx_destroy kejt jon te forums.alliedmods.net ee osht ma interesant diqka me bo ma ndrysh Wink e jo weq kap qit ktu preej google

nejse kjo osht per ata qe se din :lol:
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#6
fork1z uen weq kum dasht me perhap ket sen te mir se qdo srw tkosoves ka qicera perweq ata me ucp . besoj se kret e din qa se kum bo vet , kret pluginat qetu qa jon 60% sjan tbone vet
الله
[Image: aOZjyVW.png]
[Image: tumblr_n392ijsGMV1s1zx8bo1_400.gif]
I have not failed. I've just found 10,000 ways that won't work. Thomas Edison
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#7
--- Reupload link, ndryshe Lock & Move ne Shporte.
[edit]Ne rregull eshte link.[/edit]
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:


Forum Jump:


Users browsing this thread: 1 Guest(s)