AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [REQ]lastinv (https://forums.alliedmods.net/showthread.php?t=98498)

035596266 07-26-2009 03:32

[REQ]lastinv
 
The use of sniper shot and killed the enemy, can not use fast lastinv
Can help create ?

035596266 07-26-2009 13:51

Re: [REQ]lastinv
 
Blockade can be changed to use lastinv ?

hleV 07-26-2009 15:14

Re: [REQ]lastinv
 
Code:
#include <amxmodx> #define D 3.0 new g[33] public plugin_init(){ register_clcmd("lastinv","c") register_event("DeathMsg","e","a","1>0","4&awp","4&sco","4&550","4&g3s");} public c(i)return g[i]?0:1 public e(i){ if ((i=read_data(1))!=read_data(2)){ remove_task(i) set_task(D,"client_connect",i) g[i]=0;}} public client_connect(i)g[i]=1


377345 bytes.

fysiks 07-26-2009 20:25

Re: [REQ]lastinv
 
Code:
#include <amxmodx> #define D 3.0 new g[33] public plugin_init(){ register_clcmd("lastinv","c") register_event("DeathMsg","e","a","1>0","4&awp","4&sco","4&550","4&g3s");} public c(i)return g[i]?0:1 public e(i){ if ((i=read_data(1))!=read_data(2)){ remove_task(i) set_task(D,"client_connect",i) g[i]=0;}} public client_connect(i)g[i]=1

:arrow:

Code:

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Header size:            236 bytes
Code size:              588 bytes
Data size:              408 bytes
Stack/heap size:      16384 bytes; estimated max. usage=40 cells (160 bytes)
Total requirements:  17616 bytes
Done.

Whitespace changes nothing. Also, Where do you get 345?

035596266 07-27-2009 01:51

Re: [REQ]lastinv
 
Still can use lastinv-_-

ConnorMcLeod 07-27-2009 04:25

Re: [REQ]lastinv
 
You can't hook that command.

hleV 07-27-2009 08:39

Re: [REQ]lastinv
 
Well, the file size (.sma + the code) is 345 bytes.

I'm sure that "lastinv" is hookable. It's hooked and works in SoccerJam.

Anyway, I doubt that this plugin would help you. You can use "slot<any>" and then "slot1" and it will be the same.

035596266 07-27-2009 10:16

Re: [REQ]lastinv
 
But after my test
Still can use the sniper rifle lastinv

Alka 07-27-2009 12:00

Re: [REQ]lastinv
 
This is useless, awp fast switch don't work anymore...delay is bigger with "lastinv"

035596266 07-27-2009 13:14

Re: [REQ]lastinv
 
Really no solution ?


All times are GMT -4. The time now is 18:30.

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