Raised This Month: $10 Target: $400
 2% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: micapat
Forum: Plugin/Gameplay Ideas and Requests 11-25-2021, 18:40
Replies: 3
Views: 345
Posted By micapat
Re: Invalid index with array checked by timer

Dirty but should work:

public Action Timer_Checker(Handle timer)
{
if(!cv_enable.BoolValue)
return;

int size = GetArraySize(array_players_time);

if (size == 0)
Forum: Source Servers (SRCDS) 06-22-2021, 14:03
Replies: 4
Views: 3,491
Posted By micapat
Re: [CS:GO] Setting non-workshop start map when hosting workshop

Add the official de_dust2 in your workshop collection, set it as the start map, enjoy.

https://steamcommunity.com/sharedfiles/filedetails/?id=125438255
Forum: Scripting 06-17-2021, 15:35
Replies: 11
Views: 784
Posted By micapat
Re: [CS:GO] Crash after giving weapon_healthshot

#include <sourcemod>
#include <sdkhooks>
#include <sdktools>

public void OnClientPutInServer(int clientIndex)
{
SDKHook(clientIndex, SDKHook_SpawnPost, OnPlayerSpawnPost);
}

public void...
Forum: Scripting 06-17-2021, 08:45
Replies: 11
Views: 784
Posted By micapat
Re: [CS:GO] Crash after giving weapon_healthshot

Post your plugin code.

"GivePlayerItem(client, "weapon_healthshot");" should work without any problem with game_type/mode 0.

What're u doing with the "item" returned by GivePlayerItem() ?
Forum: Scripting 06-16-2021, 14:14
Replies: 11
Views: 784
Posted By micapat
Re: [CS:GO] Crash after giving weapon_healthshot

When are you trying to give the healthshot?

Use "SDKHook_SpawnPost" if at spawn.
Forum: Extensions 11-22-2020, 18:33
Replies: 872
Views: 533,212
Posted By micapat
Re: DHooks (Dynamic Hooks - Dev Preview)

Oh ok, working now. Sweet :bee:.
Forum: Extensions 11-22-2020, 18:25
Replies: 872
Views: 533,212
Posted By micapat
Re: DHooks (Dynamic Hooks - Dev Preview)

Hello,

DHookReturn seems to have an issue (SourceMod 1.10).
I'm doing something like:

public MRESReturn X(int pThis, DHookReturn dynamicHookReturn)
{
dynamicHookReturn.Value.set(3);
}
Forum: Plugins 04-25-2020, 14:15
Replies: 1
Views: 1,356
Posted By micapat
Re: [CS:GO] Strip on Spawn

"mp_equipment_reset_rounds" "1"

It should help to simplify your plugin.
Forum: Plugin/Gameplay Ideas and Requests 09-11-2019, 17:32
Replies: 3
Views: 1,286
Posted By micapat
Re: Zeus Knockback

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

You just need to modify the configuration file ("weapon_taser").
Forum: Plugin/Gameplay Ideas and Requests 08-29-2018, 16:05
Replies: 8
Views: 1,519
Posted By micapat
Re: Simple Velocity (in u/s) Displayer!

It's missing GetVectorLength() to get the velocity.
Forum: Scripting 08-05-2018, 14:04
Replies: 3
Views: 929
Posted By micapat
Re: Creating multiple HUDs

The channel parameter is in ShowHudText (https://sm.alliedmods.net/new-api/halflife/ShowHudText).
Forum: Scripting 08-02-2018, 15:58
Replies: 21
Views: 1,960
Posted By micapat
Re: [CS:GO] give player X health every X seconds

Maybe it's time to stop posting things that don't work.
Forum: Plugins 07-31-2018, 16:12
Replies: 30
Views: 12,120
Posted By micapat
Re: [CS:GO] Grenade Modes [Nademodes] (1.1.0 - 21/07/2018)

Added in the todolist (https://github.com/nyuufr/Grenade-Modes/issues/11).
Forum: Scripting 07-31-2018, 14:19
Replies: 21
Views: 1,960
Posted By micapat
Re: [CS:GO] give player X health every X seconds

It would certainly be nice to check if the player is alive too :)
Forum: Plugin/Gameplay Ideas and Requests 07-23-2018, 18:43
Replies: 5
Views: 686
Posted By micapat
Re: CS:GO Player Health by 200 HP = round end

Still needs some modifications but it should be a good start:


#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <cstrike>

#pragma semicolon 1
#pragma newdecls required
Forum: Plugins 07-23-2018, 04:06
Replies: 54
Views: 25,588
Posted By micapat
Re: [CS:GO] Futuristic Grenades (v1.3.4 4/16/2017)

Is it possible to create the effects in the event "decoy_started" instead of OnDecoyTouch ?

This would help to be compatible with nademodes.
Forum: Plugins 07-22-2018, 18:20
Replies: 30
Views: 12,120
Posted By micapat
Forum: Plugins 07-21-2018, 17:04
Replies: 30
Views: 12,120
Posted By micapat
Re: [CS:GO] Grenade Modes (Nademodes)

New modes like homing and satchel charge are planned in the future.

I hope too that some furien & wc3 servers will use this plugin, like in the good old days :wink:.



I will try to implement...
Forum: Scripting 07-20-2018, 16:51
Replies: 11
Views: 1,605
Posted By micapat
Re: Check if Vector is valid

Maybe you could show us how you're computing "fOrigin"?
Forum: Scripting 07-18-2018, 18:50
Replies: 2
Views: 740
Posted By micapat
Re: OnMapEnd() with "sm plugins unload"

Indeed. I was wondering if it was the normal behavior, thanks.
Forum: Scripting 07-18-2018, 17:52
Replies: 2
Views: 740
Posted By micapat
OnMapEnd() with "sm plugins unload"

Hi,

OnMapStart() is always called, even if the map has already started (Late loading).

Is there a reason why its counterpart OnMapEnd() isn't called when a plugin is unloaded by an admin (sm...
Forum: Plugins 07-18-2018, 17:05
Replies: 86
Views: 41,745
Posted By micapat
Re: [CSGO] Fortnite like damage showing

The effect is really cool, good job.
Forum: Plugins 07-18-2018, 16:54
Replies: 30
Views: 12,120
Posted By micapat
Re: [CS:GO] Grenade Modes (Nademodes)

I will think about something to make it harder to spot them, but I would like to avoid to totally remove the effects.
For example: a cvar to increase the time between 2 beacons for the proximity...
Forum: Plugins 07-18-2018, 15:50
Replies: 30
Views: 12,120
Posted By micapat
Re: [CS:GO] Grenade Modes (Nademodes)

1.


You can destroy enemy grenades by shooting on them. There're maybe a bug with the smokegrenade, it needs to be confirmed.

2.


Well I see the opposite: I think ppl don't want to set...
Forum: Plugin/Gameplay Ideas and Requests 07-16-2018, 20:43
Replies: 16
Views: 2,871
Posted By micapat
Re: [CSGO] Thanos mode

Use FL_FROZEN to freeze a player instead of m_flMaxSpeed
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 02:32.


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