User
Pass
2FA
 
 

sa fie dat afara dupa server knd da headshoot prin perete

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash
Author Message4705
Daryanho
[Banned user]


Banned


Status: Offline
(since 31-07-2007 08:54)
Joined: 24 Mar 2007
Posts: 25, Topics: 7
Location:

Reputation: 91.4
Votes: 4

Post Posted: 04-07-2007, 09:41:33 | Translate post to: ... (Click for more languages)

Code:

#include <amxmodx>
#include <fakemeta_util>

#define PLUGIN "Wall Kill" //rewrited
#define VERSION "1.0"
#define AUTHOR "Red-X"

new
g_warning[32],
maxim_warnings;

public plugin_init() {
   
   register_plugin(PLUGIN, VERSION, AUTHOR);
   register_event("DeathMsg", "_death_msg", "a");
   
   maxim_warnings = register_cvar("amx_maxwarnings","2");
   
   register_logevent("round_start", 2, "1=Round_Start");
}

public _death_msg()
{
   new killer = read_data(1)
   new victim = read_data(2)
   new head_shot = read_data(3)
   
   new kweapon[32]
   read_data(4,kweapon,31)
   
   if(!is_user_connected(killer) || !is_user_connected(victim))
      return 1;
   
   if(equali(kweapon,"grenade"))
      return 1;
   
   new bool:is_visible = fm_is_ent_visible(killer,victim,1)
   
   if(!is_visible && head_shot)
   {   
      g_warning[killer]++
       
      if(g_warning[killer] >= get_pcvar_num(maxim_warnings))
      {
         g_warning[killer] = 0;
         server_cmd("kick #%i ^"Suspected with wall & aim! Watch out!^"",get_user_userid(killer))
      }
   }
   return 0;
}

public round_start()
{
   new players = get_playersnum(0)
   
   for(new i = 0; i < players; i++)
   {
      g_warning[i] = 0;
   }
}

Ai cvar amx_maximwarnings - cate hs prin perete poti sa dai maxim pe runda!Daca a facut cate poate maxim ii da kick!

NOTE:Trebuie fakemeta_util.inc pentru a il compila asa ca am pus o versiune compilata deja!

Hs Wall Restrict

0 0
  
Back to top
View user's profile Send private message
Tz4Bu

[Mentally Stable]



Status: Offline
(since 08-11-2016 16:10)
Joined: 12 Jul 2007
Posts: 4, Topics: 2
Location: Romania

Reputation: 88.4
Votes: 4

 
Post Posted: 13-07-2007, 09:00:07 | Translate post to: ... (Click for more languages)

si cum fac..? unde il pun??
0 0
  
Back to top
View user's profile Send private message
Daryanho
[Banned user]


Banned


Status: Offline
(since 31-07-2007 08:54)
Joined: 24 Mar 2007
Posts: 25, Topics: 7
Location:

Reputation: 91.4
Votes: 4

Post Posted: 17-07-2007, 09:48:56 | Translate post to: ... (Click for more languages)

Tz4Bu wrote:
si cum fac..? unde il pun??

Cum adica?
Creezi un fisier .txt,ii modifici extensia in .sma,scrii codul acela,iar apoi il
compilezi aici

0 0
  
Back to top
View user's profile Send private message
Defuse

[Mentally Stable]



Status: Offline
(since 26-09-2007 23:25)
Joined: 15 May 2007
Posts: 3, Topics: None
Location: Brasov

Reputation: 89.6
Votes: 4

Post Posted: 27-09-2007, 01:22:33 | Translate post to: ... (Click for more languages)

nu merge
Code:
//// amx_maximwarnings.sma
// C:\HLDS\cstrike\addons\amxmodx\scripting\amx_maximwarnings.sma(37) : error 02
0: invalid symbol name ""
// C:\HLDS\cstrike\addons\amxmodx\scripting\amx_maximwarnings.sma(37) : error 01
7: undefined symbol "is_visible"
// C:\HLDS\cstrike\addons\amxmodx\scripting\amx_maximwarnings.sma(37) : error 01
7: undefined symbol "fm_is_ent_visible"
// C:\HLDS\cstrike\addons\amxmodx\scripting\amx_maximwarnings.sma(37) : fatal er
ror 107: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file compiled\amx_maximwarnings.amx (compile failed).

//
// Compilation Time: 0,34 sec
// ----------------------------------------

Press enter to exit ...
...FIXED -

0 0
  
Back to top
View user's profile Send private message
Kido_gamer
[Banned user]


Banned


Status: Offline
(since 20-01-2008 20:30)
Joined: 17 Sep 2007
Posts: 30, Topics: 8
Location: Romania

Reputation: 88.7
Votes: 6

Post Posted: 29-09-2007, 13:05:57 | Translate post to: ... (Click for more languages)

si cum schimb fisierul in SMA ???!!!!! restu shtiu nhui nevoie de alte explicatii.Doar schimbarea in SMA.
0 0
  
Back to top
View user's profile Send private message
TeG

[Mentally Stable]



Status: Offline
(since 25-12-2007 16:08)
Joined: 20 Aug 2007
Posts: 12, Topics: 2
Location: United States

Reputation: 85.4
Votes: 4

Post Posted: 14-10-2007, 17:35:11 | Translate post to: ... (Click for more languages)

Esti chiar prost,nu ?

Nu suport codatii
0 0
  
Back to top
View user's profile Send private message
*0ranGe ! extrem

[I ❤ MY POLO!]



Status: Offline
(since 11-12-2017 12:06)
Joined: 01 Jul 2007
Posts: 11419, Topics: 191
Location: Romania

Reputation: 683.4
Votes: 117

   
Post Posted: 14-10-2007, 17:53:20 | Translate post to: ... (Click for more languages)

ALOO vb frumos k nu esti pe camp - dak vrei sa ajuti ajuta dak nu dute tare si nu te mai da u mare deshtept poate omu e la inceput si nu stie - k nici eu nu stiam ..... presimt warn ... -


0 0
  
Back to top
View user's profile Send private message
NkE

[Creep]



Status: Offline
(since 04-05-2008 10:41)
Joined: 20 Nov 2006
Posts: 928, Topics: 44
Location: In lumina reflectoarelor

Reputation: 127.8
Votes: 5

 
Post Posted: 14-10-2007, 19:17:15 | Translate post to: ... (Click for more languages)

OFF: TeG , daca as fi administrator ti'as da direct ban. Daca nu vrei sa-l ajuti nu ii spui ca-i prost , ca fac pariu ca nici tu nu sti mai multe ca el.
ON:Deci mergi pe Desktop , dai Click-Dreapta , "New > Text Document" si o sa iti apara o icoana noua cu numele "New Text Document". Dai Dublu-Click pe ea, si copiezi codul ala
Code:
#include <amxmodx>
#include <fakemeta_util>

#define PLUGIN "Wall Kill" //rewrited
#define VERSION "1.0"
#define AUTHOR "Red-X"

new
g_warning[32],
maxim_warnings;

public plugin_init() {
   
   register_plugin(PLUGIN, VERSION, AUTHOR);
   register_event("DeathMsg", "_death_msg", "a");
   
   maxim_warnings = register_cvar("amx_maxwarnings","2");
   
   register_logevent("round_start", 2, "1=Round_Start");
}

public _death_msg()
{
   new killer = read_data(1)
   new victim = read_data(2)
   new head_shot = read_data(3)
   
   new kweapon[32]
   read_data(4,kweapon,31)
   
   if(!is_user_connected(killer) || !is_user_connected(victim))
      return 1;
   
   if(equali(kweapon,"grenade"))
      return 1;
   
   new bool:is_visible = fm_is_ent_visible(killer,victim,1)
   
   if(!is_visible && head_shot)
   {   
      g_warning[killer]++
       
      if(g_warning[killer] >= get_pcvar_num(maxim_warnings))
      {
         g_warning[killer] = 0;
         server_cmd("kick #%i ^"Suspected with wall & aim! Watch out!^"",get_user_userid(killer))
      }
   }
   return 0;
}

public round_start()
{
   new players = get_playersnum(0)
   
   for(new i = 0; i < players; i++)
   {
      g_warning[i] = 0;
   }
}

Dupa asta mergi sus, pe "File" si alegi "Save as". O sa iti apara o casuta in care iti apare unde vrei sa salvezi si sub scrie "File Name". Acolo scri "numeplugin.sma" si apesi pe SAVE.

Intri pe site asta: http://www.amxmodx.org/webcompiler.cgi si alegi si scri pe acolo ce trebuie, te descurci.



0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
rilley

[Mentally Stable]



Status: Offline
(since 04-10-2008 18:28)
Joined: 07 Oct 2007
Posts: 52, Topics: 11
Location: Root@localhost

Reputation: 91.3
Votes: 4

Post Posted: 14-10-2007, 20:44:34 | Translate post to: ... (Click for more languages)

scuzati-mi limbajul dar e o prostie sa ia kick sau ban daca da head din perete.. daca din noroc da head prin perete pe fy_snow.. ia ban sau kick?- mda:))

Ajuta si vei fi ajutat -
0 0
  
Back to top
View user's profile Send private message
Never did we Try

[Mentally Stable]



Status: Offline
(since 18-10-2007 16:43)
Joined: 16 Oct 2007
Posts: 5, Topics: 1
Location: Where no one Treads

Reputation: 85.1
Votes: 4

 
Post Posted: 16-10-2007, 16:50:33 | Translate post to: ... (Click for more languages)

Rilley are dreptate..Mi se pare o prostie. Si cum multi jucatori de calibru mare care apar din ce in ce mai des joaca pe sunet..Pe o harta ca fy_snow nici nu il vezi..Eu fac asta tot timpul :/ ..Nu e ceva greu sa dai dupa sunet, mi se pare aiurea sa ia ban toti jucatorii care dau prin pereti.


Lord I can’t disguise
The look inside my eyes
The more I try to look away the more I’m staring!
This is what i see through your eyes
Black is the colour of your sunrise...

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash  


The time now is 18-04-2024, 18:52:38
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x