Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 52
Search took 0.01 seconds.
Search: Posts Made By: woklex
Forum: Scripting 06-10-2017, 13:37
Replies: 6
Views: 2,028
Posted By woklex
Re: [insurgency] Upgrades

Solution:
#pragma semicolon 1

#include <sourcemod>
#include <sdktools>

#define PLUGIN_VERSION "1.0.0"

public Plugin:myinfo =
{
Forum: Snippets and Tutorials 06-06-2017, 16:40
Replies: 7
Views: 13,092
Posted By woklex
Re: [INC] Overlays

Cool! Thank you!
Forum: Scripting 06-05-2017, 16:16
Replies: 6
Views: 2,028
Posted By woklex
Re: [insurgency] Upgrades

hmm..

Table: m_EquippedGear (offset 16) (type m_EquippedGear)
Member: 000 (offset 0) (type integer) (bits 8) (Unsigned)
Member: 001 (offset 4) (type integer) (bits 8) (Unsigned)
...
Forum: Scripting 06-05-2017, 14:24
Replies: 6
Views: 2,028
Posted By woklex
Re: [insurgency] Upgrades

// WORK
decl String:Class[64];
for(new offset = 0; offset < 128; offset += 4) // +4 to skip to next entry in array.
{
new ent = GetEntDataEnt2(client, m_hMyWeapons + offset);
...
Forum: Scripting 06-05-2017, 02:11
Replies: 6
Views: 2,028
Posted By woklex
Re: [insurgency] Upgrades

I found this https://forums.alliedmods.net/showthread.php?t=58176.
It should help me.
Forum: Scripting 06-04-2017, 15:42
Replies: 6
Views: 2,028
Posted By woklex
[insurgency] Upgrades

Hello!

I want to get weapon attach, but I can not do anything. I found the following in netprops and it seems this is what I need, but I can not get the data. How can I get the data?

Data:...
Forum: Scripting 04-28-2016, 18:10
Replies: 7
Views: 1,356
Posted By woklex
Re: [HELP] Bot use flashlight

Yep. Word of the 'test' is shown and there is the sound of a click flashlight. 64 is the F button on the Insurgency.
Forum: Scripting 04-28-2016, 09:41
Replies: 7
Views: 1,356
Posted By woklex
Re: [HELP] Bot use flashlight

It is progress, with such code there is flashlight sound, but there is no light of a flashlight:


public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon)...
Forum: Suggestions / Requests 04-25-2016, 22:51
Replies: 1
Views: 837
Posted By woklex
Re: [HELP] Bot use flashlight

Please delete post. I was mistaken section.
Forum: Scripting 04-25-2016, 22:50
Replies: 7
Views: 1,356
Posted By woklex
[HELP] Bot use flashlight

Hello!
I want to make bots turn on the flashlight.
First I want to lights activated on F, but the code does not work: ClientCommand (client, "+ flashlight");
All code:

Code:

public...
Forum: Suggestions / Requests 04-25-2016, 22:09
Replies: 1
Views: 837
Posted By woklex
[HELP] Bot use flashlight

Hello!
I want to make bots turn on the flashlight.
First I want to lights activated on F, but the code does not work: ClientCommand (client, "+ flashlight");
All code:


public...
Forum: Plugins 04-22-2016, 08:50
Replies: 3,002
Views: 1,489,205
Posted By woklex
Re: Sm_Skinchooser

Somebody is using in insurgency? Will this plugin to work there?
Forum: Plugins 03-09-2016, 06:27
Replies: 9
Views: 6,542
Posted By woklex
Re: [INS] Drop Weapon

You have changed the line "Wounded to the arm! You lost your weapon!"? You have compiled a new plugin? Restart the server?
Forum: Plugins 03-09-2016, 05:49
Replies: 9
Views: 6,542
Posted By woklex
Re: [INS] Drop Weapon

Perhaps you shoot in a safe area? Or it can disable friendly fire?
Forum: Plugins 03-07-2016, 21:04
Replies: 9
Views: 6,542
Posted By woklex
Re: [INS] Drop Weapon

Hello!

Config sensitive to drop:
if ((((hitgroup == 0) && (damage > 70)) && (health >0)) || (((hitgroup == 4) || (hitgroup == 5)) && (health >0)))
hitgroup 0 - this damage from the explosions...
Forum: Plugins 02-26-2016, 21:51
Replies: 0
Views: 3,026
Posted By woklex
[INS] AimName

When you hover the sight on the ally and pressing the action key (default "F" button). Then it displays the name on the screen (If the goal of closer than 10 meters).
Forum: Plugins 02-26-2016, 21:28
Replies: 9
Views: 6,542
Posted By woklex
[INS] Drop Weapon

When shot in the arm start dropping weapons to the hands. The screen will be a warning "Wounded to the arm! You lost your weapon!".
Forum: Scripting 02-10-2015, 12:58
Replies: 3
Views: 907
Posted By woklex
Re: dropped weapons

Now I wrote "head v4!", But it kills me ... Well, if I got into his head, should not write this, I'm dead.
Forum: Scripting 02-10-2015, 12:45
Replies: 3
Views: 907
Posted By woklex
Re: dropped weapons

Ok. It's work:


public OnPluginStart()
{
HookEvent("player_hurt", Event_PlayerHurt, EventHookMode_Post)
}

public Event_PlayerHurt(Handle:event, const String:name[], bool:dontBroadcast)
{
Forum: Scripting 02-06-2015, 14:47
Replies: 3
Views: 907
Posted By woklex
dropped weapons

Hello!


I want to write a plugin that when getting into the hands of dropped weapons. Here is the code:

public PlayerHurtEvent(Handle:event, const String:name[], bool:dontBroadcast)
{
if...
Forum: Scripting 02-06-2015, 10:11
Replies: 2
Views: 821
Posted By woklex
Re: Drop weapon

The game has no such function. Is there any universal method?
Forum: Source Servers (SRCDS) 02-06-2015, 03:45
Replies: 4
Views: 1,092
Posted By woklex
Re: Segmentation fault

Is Ubuntu 12.04 is not recommended distribution? He's LTS, so it is still supported. Metamod and sorumod off. Сrash about once a day
Forum: Plugin/Gameplay Ideas and Requests 02-05-2015, 15:44
Replies: 0
Views: 306
Posted By woklex
[REQUEST] jump and shoot

In insurgency has such a feature that you can not shoot when you jump. Is it possible to somehow get around this? To be able to shoot a jump? That was in CS.
Forum: Source Servers (SRCDS) 02-05-2015, 05:30
Replies: 4
Views: 1,092
Posted By woklex
Re: Segmentation fault

I use two VPS with ubuntu 12.04. Defaulted on one kernel:
root@install:/home/ins/Steam/steamapps/common/Insurgency Dedicated Server# uname -a
Linux install 3.2.0-70-generic-pae #105-Ubuntu SMP Wed...
Forum: Source Servers (SRCDS) 02-04-2015, 17:48
Replies: 4
Views: 1,092
Posted By woklex
Segmentation fault

Why happen Segmentation fault? See in /var/log/kern.log segfault at 0 ip b63bd400 sp bfeb0b90 error 6 in engine.so[b6198000+35b000]
This is because of the kernel? I have Ubuntu 12.04 x32. Is it OS...
Showing results 1 to 25 of 52

 
Forum Jump

All times are GMT -4. The time now is 19:06.


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