Raised This Month: $7 Target: $400
 1% 

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: micapat
Forum: Plugin/Gameplay Ideas and Requests 11-25-2021, 17:40
Replies: 3
Views: 822
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, 13:03
Replies: 4
Views: 4,099
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, 14:35
Replies: 11
Views: 1,491
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, 07:45
Replies: 11
Views: 1,491
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, 13:14
Replies: 11
Views: 1,491
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, 17:33
Replies: 883
Views: 688,599
Posted By micapat
Re: DHooks (Dynamic Hooks - Dev Preview)

Oh ok, working now. Sweet :bee:.
Forum: Extensions 11-22-2020, 17:25
Replies: 883
Views: 688,599
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, 13:15
Replies: 1
Views: 2,203
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, 16:32
Replies: 3
Views: 1,601
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, 15:05
Replies: 8
Views: 2,260
Posted By micapat
Re: Simple Velocity (in u/s) Displayer!

It's missing GetVectorLength() to get the velocity.
Forum: Scripting 08-05-2018, 13:04
Replies: 3
Views: 1,389
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, 14:58
Replies: 21
Views: 2,961
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, 15:12
Replies: 32
Views: 18,470
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, 13:19
Replies: 21
Views: 2,961
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, 17:43
Replies: 5
Views: 995
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, 03:06
Replies: 54
Views: 31,689
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, 17:20
Replies: 32
Views: 18,470
Posted By micapat
Forum: Plugins 07-21-2018, 16:04
Replies: 32
Views: 18,470
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, 15:51
Replies: 11
Views: 2,889
Posted By micapat
Re: Check if Vector is valid

Maybe you could show us how you're computing "fOrigin"?
Forum: Scripting 07-18-2018, 17:50
Replies: 2
Views: 1,069
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, 16:52
Replies: 2
Views: 1,069
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, 16:05
Replies: 89
Views: 62,842
Posted By micapat
Re: [CSGO] Fortnite like damage showing

The effect is really cool, good job.
Forum: Plugins 07-18-2018, 15:54
Replies: 32
Views: 18,470
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, 14:50
Replies: 32
Views: 18,470
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, 19:43
Replies: 16
Views: 4,165
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 04:19.


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