Distance counter..
+5
Coffeecake
Xalus
Eazy
Sps
Fagnatic
9 posters
Page 1 of 1
Distance counter..
Well , we often ahve this problem with spray contests and gun toss
the T and Ct throwed theyre deagle or sprayed , and it looks like a tie , so everyoen is like "Terrorist wins" because they don't want to "freekill"
so heres my question,
Could there be a distance checker who says who sprayed or throwed his deagle the best
cheers.
the T and Ct throwed theyre deagle or sprayed , and it looks like a tie , so everyoen is like "Terrorist wins" because they don't want to "freekill"
so heres my question,
Could there be a distance checker who says who sprayed or throwed his deagle the best
cheers.
Fagnatic- Number of posts : 2699
Age : 30
Birthday : 1994-02-25
Location : Belgium
Registration date : 2010-01-09
Re: Distance counter..
No OrperteX u didnt join a week ago. And i dont see any problem when its tie most just say CT won because they just want the round to end
Sps- Number of posts : 500
Age : 790
Birthday : 1234-09-15
Registration date : 2010-05-03
Re: Distance counter..
It will help the game alot if it could take place.
Eazy- nD* Jail Member
- Number of posts : 116
Age : 33
Birthday : 1991-09-24
Location : Denmark
Registration date : 2010-01-11
Re: Distance counter..
I wanted to use this for my server but, here U go..
Gun Toss
Its bugged if its with more players but, I think Mati can fix it ^^
Spray Distance
Gun Toss
Its bugged if its with more players but, I think Mati can fix it ^^
- Code:
#include <amxmodx>
#include <engine>
#pragma semicolon 1
#define VERSION "1.0"
new entid[33];
new Float: throworigin[3];
new Float: droporigin[3];
new bool: has_dropped[33];
public plugin_init() {
register_plugin("Drop Distance", VERSION, "Xalus & Drekes");
register_touch("weaponbox", "worldspawn", "Fwd_Weapon_Touch");
register_clcmd("drop", "cmd_drop");
register_logevent("Event_RoundStart", 2, "1=Round_Start");
}
public Event_RoundStart() {
arrayset(has_dropped, false, 0);
arrayset(entid, 0, 33);
}
public cmd_drop(id) {
entid[id] = get_user_weapon(id);
has_dropped[id] = true;
}
public client_PreThink(id)
if((entity_get_int(id, EV_INT_flags) & FL_ONGROUND))
if(!has_dropped[id])
entity_get_vector(id, EV_VEC_origin, throworigin);
public Fwd_Weapon_Touch(weapon, world) {
new players[32], pnum, id;
get_players(players, pnum);
for(new i = 0; i < pnum; i++) {
id = players[i];
if(!is_user_alive(id))
continue;
if(entid[id] == weapon)
break;
}
entity_get_vector(weapon, EV_VEC_origin, droporigin);
has_dropped[id] = false;
check_distance();
}
public check_distance() {
new Float: distance = get_distance_f(throworigin, droporigin);
client_print(0, print_chat, "Drop distance: %.1f", distance);
}
Spray Distance
- Code:
#include <amxmodx>
#include <engine>
public plugin_init()
{
/* SVC_TEMPENTITY (event #23) event, trigger if parameter 1 is equal to 112 (TE_PLAYERDECAL) */
register_event("23", "player_spray", "a", "1=112")
}
public player_spray()
{
new id = read_data(2) /* as seen in the include, player index is the second parameter */
new iOrigin[3]
iOrigin[0] = read_data(3) /* and of course, the coordinates... */
iOrigin[1] = read_data(4)
iOrigin[2] = read_data(5)
/* you can get the rest of parameters too if you need them */
/* now, what you needed... distance... */
new iPlayerOrigin[3]
get_user_origin(id, iPlayerOrigin)
new iDistance = get_distance(iPlayerOrigin, iOrigin)
client_print(id, print_chat, "Distance to your spray: %d", iDistance)
}
Xalus- Number of posts : 204
Age : 29
Birthday : 1995-04-26
Registration date : 2009-11-27
Re: Distance counter..
thanks xalus,but cant u still use it on your server also?
Coffeecake- Number of posts : 390
Age : 28
Birthday : 1996-09-18
Location : Dundee, Scotland
Job/hobbies : NeonDragon, football, music
Registration date : 2010-04-20
Re: Distance counter..
BUMP
can someone take a look?
can someone take a look?
Fagnatic- Number of posts : 2699
Age : 30
Birthday : 1994-02-25
Location : Belgium
Registration date : 2010-01-09
Re: Distance counter..
The gun-toss distance counter doesn't work the way we want it to work:
It counts the distance from where you land to where the gun hits, instead of the distance between where you jump from and where your gun hits.
If this were to be implemented then you have to jump and strafe back to get higher distance, which is far from the way we play guntoss.
It counts the distance from where you land to where the gun hits, instead of the distance between where you jump from and where your gun hits.
If this were to be implemented then you have to jump and strafe back to get higher distance, which is far from the way we play guntoss.
Marksel- nD* Runner Member
- Number of posts : 3979
Age : 32
Birthday : 1992-02-01
Location : Holland
Job/hobbies : Owning you!
Registration date : 2009-08-19
Re: Distance counter..
At guntoss you see most of the times anyway clear the winner.
For spray it would be really handy, but the plugin is counting the distance from the player to the spray, and not from the ground.
Therefore, it's easy to get always the maximum because you just need to stand and move your crosshair very slow down while spamming the spray-key.
For spray it would be really handy, but the plugin is counting the distance from the player to the spray, and not from the ground.
Therefore, it's easy to get always the maximum because you just need to stand and move your crosshair very slow down while spamming the spray-key.
Mati- Admin
- Number of posts : 876
Age : 33
Birthday : 1991-06-02
Location : Austria
Registration date : 2009-07-20
Re: Distance counter..
I'd say only do it with spray contest not with guntoss ^^ beacuse the T will rebel, so the odds of the terorrist rebelling is 0% if the terrorist get slain directly if he loses =s
swarley- Number of posts : 489
Age : 17
Birthday : 2007-07-06
Location : Arsenal, Emirates Stadium
Job/hobbies : Doing nothing
Registration date : 2010-05-28
Re: Distance counter..
well i dont its realy needfull.. i think we always do it right with choosing the winner, and if it is a tie, normally they will do a knife duel to settle it
so i dont think there is a need for this.
so i dont think there is a need for this.
Similar topics
» Sad day for Counter-Strike
» Your own Counter-Strike videos.
» How addicted are you to counter strike?
» Counter Terrorists Areas
» New: Spray distance counter
» Your own Counter-Strike videos.
» How addicted are you to counter strike?
» Counter Terrorists Areas
» New: Spray distance counter
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum