AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Grab+ (https://forums.alliedmods.net/showthread.php?t=61910)

TeenyTommy 04-18-2010 21:22

Re: Grab+
 
One more question, how do you set a password/flag on this plugin?

`666 04-19-2010 10:51

Re: Grab+
 
open .sma and find
Code:

#define ADMIN ADMIN_LEVEL_A
and change to what ever you want

oldman57 04-22-2010 00:42

Nice Plugin got an idea
 
Great work on this plugin, and as I played around with it I had an idea.
so I did a post, here it is

oldman57 04-22-2010 00:48

Quote:

Originally Posted by TeenyTommy (Post 1154546)
One more question, how do you set a password/flag on this plugin?


You can change all admin and player access lvls now from this amx file.
per plugin so you no longer have to edit a .sma to change a plugins access
cmdaccess.ini

vollie 04-22-2010 01:32

Re: Grab+
 
[En]
Couldnt = Can not grab the player.
Already = Someone else is holding it already. here the english ones but n1 man

[Black_Jack] 04-22-2010 05:17

Re: Grab+
 
LOL. I red crab+ :D :D

TickTack 08-10-2010 20:31

Re: Grab+
 
Hello, there is a bug... Is there a way to completly turn off glow?

On biohazard when i use grab on zombies they get CT skin, and people mistaken them for CT instead of ZM.

blackx432 10-10-2010 07:59

Re: Grab+
 
[pl]
Couldnt = Nie mozna zlapac gracza.
Already = Ktos juz zlapal ta osobe.

Polish!

Erdener 10-10-2010 09:01

Re: Grab+
 
GJ. Thnx Cowboy :)

Turkish Translate::arrow:

Code:

[tr]
COULDNT = Bu oyuncu kapamaz.
ALREADY = Baskasi zaten kapmis.


kropto 10-10-2010 11:56

Re: Grab+
 
Lithuania translate

HTML Code:

[lt]
COULDNT = Nepavyko pritraukti zaidejo.
ALREADY = Kazkas kitas pritrauke zaideja.


NeonSRB 04-09-2011 09:04

Re: Grab+
 
Serbian translate

Code:

[srb]
COULDNT = Igrac ne moze biti uhvacen.
ALREADY = Neko vec drzi igraca.


zippel 04-19-2011 14:30

Re: Grab+
 
What about grab weapons and some errors in client console:

Code:

Unknown command: -grab
Unknown command: -grab


Hab 04-20-2011 18:54

Re: Grab+
 
Quote:

Originally Posted by zippel (Post 1453695)
What about grab weapons

When gp_players_only is set to 0, u can grab dropped weapons :)

zippel 04-21-2011 04:10

Re: Grab+
 
Quote:

Originally Posted by Hab (Post 1454436)
When gp_players_only is set to 0, u can grab dropped weapons :)

hmmm. I checked with zero - no wp grab (

How fix this error -grab (unknown command / return plugin H / but where?)

Hab 04-21-2011 15:39

Re: Grab+
 
Quote:

Originally Posted by zippel (Post 1454644)
hmmm. I checked with zero - no wp grab (

How fix this error -grab (unknown command / return plugin H / but where?)

Change:
Code:

        register_clcmd( "-grab", "unset_grabbed" )
to
Code:

        register_clcmd( "-grab", "unset_grabbed_cmd" )
And add this:
Code:

public unset_grabbed_cmd(id)
{
        unset_grabbed(id)
        return PLUGIN_HANDLED
}

Hmm, I can grab weapons: screens
P.S.: Messages on screens :crab:
Code:

public set_grabbed( id, target )
{
        new target_class[33]
        pev(target, pev_classname, target_class, 32)
        client_print(id, print_chat, "[Grab+] Grabbed %s Index: %d", target_class, target)


zippel 04-22-2011 18:06

Re: Grab+
 
g, in my script...
function set_grabbed( id, target ) doesn't have

Quote:

new target_class[33]
pev(target, pev_classname, target_class, 32)
client_print(id, print_chat, "[Grab+] Grabbed %s Index: %d", target_class, target)
It's:
Quote:

//Grabs onto someone
public set_grabbed( id, target )
{
if( get_pcvar_num( p_glow ) )
{
new Float:color[3]
color[0] = get_pcvar_float( p_glow_r )
color[1] = get_pcvar_float( p_glow_g )
color[2] = get_pcvar_float( p_glow_b )
set_pev( target, pev_renderfx, kRenderFxGlowShell )
set_pev( target, pev_rendercolor, color )
set_pev( target, pev_rendermode, kRenderTransColor )
set_pev( target, pev_renderamt, get_pcvar_float( p_glow_a ) )
}

if( 0 < target <= MAXPLAYERS )
client_data[target][GRABBER] = id
client_data[id][FLAGS] = 0
client_data[id][GRABBED] = target
new Float:torig[3], Float:orig[3]
pev( target, pev_origin, torig )
pev( id, pev_origin, orig )
client_data[id][GRAB_LEN] = floatround( get_distance_f( torig, orig ) )
if( client_data[id][GRAB_LEN] < get_pcvar_num( p_min_dist ) ) client_data[id][GRAB_LEN] = get_pcvar_num( p_min_dist )
}

Habetdin 04-23-2011 16:59

Re: Grab+
 
Quote:

Originally Posted by zippel (Post 1455693)
g, in my script...
function set_grabbed( id, target ) doesn't have

It's what to add for getting messages like on screen :3

NeonSRB 04-24-2011 10:12

Re: Grab+
 
Quote:

Originally Posted by Hab (Post 1454992)
Change:
Code:

    register_clcmd( "-grab", "unset_grabbed" )
to
Code:

    register_clcmd( "-grab", "unset_grabbed_cmd" )
And add this:
Code:

public unset_grabbed_cmd(id)
{
    unset_grabbed(id)
    return PLUGIN_HANDLED
}

Hmm, I can grab weapons: screens
P.S.: Messages on screens :crab:
Code:

public set_grabbed( id, target )
{
    new target_class[33]
    pev(target, pev_classname, target_class, 32)
    client_print(id, print_chat, "[Grab+] Grabbed %s Index: %d", target_class, target)


Can you post the updated sma file? (with your changes)

zippel 05-22-2011 20:01

Re: Grab+
 
very nice joke-plugin, but bad that don't moves weapon :(

naXe 07-25-2011 10:05

Re: Grab+
 
Polish translation
Quote:

[pl]
COULDNT = Nie mozna zlapac tego gracza.
ALREADY = Ktos inny juz go zlapal.

naXe 07-25-2011 18:42

Re: Grab+
 
bu

@edit

Sorry for this post!
Please delete it.

AleeKz 08-28-2011 18:42

Re: Grab+
 
[ro]
COULDNT = Jucatorul nu poate fi apucat.
ALREADY = Jucatorul este deja apucat de cineva.

AntonioLima4 11-17-2011 09:26

Re: Grab+
 
Actually it doenst work to take off a guy out of the latters. I tried in cs_assault! NOTHING! :)

ZASTRELIS 03-31-2012 05:01

Re: Grab+
 
wtf, grab isn't working. It writes Unknown command: grab

awpvssniper 05-16-2012 02:19

Re: Grab+
 
Quote:

Originally Posted by ZASTRELIS (Post 1679061)
wtf, grab isn't working. It writes Unknown command: grab

yea at me bad load too

lukteper 03-03-2013 12:32

Re: Grab+
 
Could you add the same functionality as in "ultimate jedi grab" where you can pick up entities such as crates?
that would be awesome :D

GolfCart 06-03-2013 07:31

Re: Grab+
 
// DELETE

sigerman 03-19-2016 17:30

Re: Grab+
 
In 2011 or 2012 I started to use this plugin, It works fine.

I have a suggestion, It would be nice to add admin inmmunity, since admins can grab themselves.

Resolved. https://forums.alliedmods.net/showthread.php?t=280885

I posted in suggestions. Thanks to counter1strike6

Andoz_Cz 06-19-2016 11:48

Re: Grab+
 
Please add:
Code:

[cs]
COULDNT = Nemuzes chtit tohoto hrace.
ALREADY = Nekdo jiny tuto vec uz grabuje.

and
Code:

[sk]
COULDNT = Nemozes grabnut tohoto hraca.
ALREADY = Niekdo iny tuto vec uz grabuje.

Thanks ! :)

damnyourefine 04-26-2017 23:58

Re: Grab+
 
I've installed this on my server and the plugin is running (we can grab stuff), but it does not appear to be restricted to immunity ("a") flags only. This functionality is in the plugin by default, so I don't understand why it isn't working.

Has anyone had trouble or experience getting this plugin to work with particular AMXX flags? Currently, any player (even non admins) can use the plugin.
:bacon!:


All times are GMT -4. The time now is 09:20.

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