Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 2
1
2
>
Showing results 1 to 25 of 33
Search took
0.00
seconds.
Search:
Posts Made By:
ici
Forum:
Scripting
01-30-2018, 17:12
Replies:
9
[DHooks] IGameMovement Help (unexposed interfaces)
Views:
5,440
Posted By
ici
Re: [DHooks] IGameMovement Help (unexposed interfaces)
Thanks a lot for the help boys
It worked after I changed the library from engine to server.
Yeah, a global ptr var is what I meant there, my bad. Confused the prefix, thought it was m_
...
Forum:
Scripting
01-28-2018, 19:36
Replies:
9
[DHooks] IGameMovement Help (unexposed interfaces)
Views:
5,440
Posted By
ici
[DHooks] IGameMovement Help (unexposed interfaces)
Hi guys,
I've been playing around with DHooks (https://forums.alliedmods.net/showthread.php?t=180114) lately.
I'm trying to reach IGameMovement / CGameMovement / CCSGameMovement and hook a...
Forum:
Plugins
01-10-2017, 10:37
Replies:
14
[ANY] Showtriggers
Views:
24,260
Posted By
ici
Re: [ANY] Showtriggers
Hey,
I do not think I will be able to do that as SM lacks support for leaf visualization (perhaps it's not possible, or is via some sort of a SM/MM extesion) and I can't think of a way to trace...
Forum:
Plugins
11-12-2016, 12:17
Replies:
14
[ANY] Showtriggers
Views:
24,260
Posted By
ici
Re: [ANY] Showtriggers
Hey, I tested it and it works for me. I'm using the latest stable MM and SM builds. Here's a screenshot: https://hostr.co/file/bP1WgM1J6ysT/20161112170150_1.jpg
If you could give me some more...
Forum:
Plugins
11-11-2016, 19:17
Replies:
14
[ANY] Showtriggers
Views:
24,260
Posted By
ici
[ANY] Showtriggers
This plugin replicates the showtriggers_toggle console command without the need of sv_cheats. If you're not familiar with what it does, it basically loops through all trigger entities on the map and...
Forum:
Scripting
03-29-2016, 12:17
Replies:
2
How to make a private forward that accepts multiple functags?
Views:
723
Posted By
ici
How to make a private forward that accepts multiple functags?
What I'm trying to do is register a private forward that accepts different functags.
For instance look at SDKHooks:
funcenum SDKHookCB
{
...
// OnTakeDamagePost
public(victim, attacker,...
Forum:
Scripting
03-15-2016, 09:42
Replies:
1
Enums & passing an element as a parameter
Views:
695
Posted By
ici
Enums & passing an element as a parameter
Hey there fellas,
I have a nested enum data structure and I am trying to alter values by passing an element of the enum as a parameter.
Look at the "set" function and the commented line below...
Forum:
Scripting
10-26-2015, 18:27
Replies:
2
[CS:S] player_connect & dontBroadcast
Views:
838
Posted By
ici
Re: [CS:S] player_connect & dontBroadcast
Thanks psychonic.
Forum:
Scripting
10-26-2015, 15:39
Replies:
2
[CS:S] player_connect & dontBroadcast
Views:
838
Posted By
ici
[CS:S] player_connect & dontBroadcast
The following code used to work before the recent CS:S update.
It suppressed the message "Player <name> has joined the game" but it doesn't work anymore.
Any ideas on how to fix this?
...
Forum:
Scripting
09-19-2015, 09:50
Replies:
1
output array
Views:
368
Posted By
ici
Re: output array
You have to pass "int iWeaponCount" by reference like so:
stock void GetWeaponIndexAll(int client, int[] arrWeapons, int & iWeaponCount)
Forum:
Scripting
03-28-2015, 15:56
Replies:
5
How to deal with this global timer...
Views:
1,227
Posted By
ici
Re: How to deal with this global timer...
new Handle:gH_SandvichTimers[TF_MAX_PLAYERS] = {INVALID_HANDLE, ...};
new g_Timers[TF_MAX_PLAYERS];
public OnMapStart()
{
ClearAllTimers();
}
public OnClientDisconnect(client)
{
Forum:
Plugin/Gameplay Ideas and Requests
03-23-2015, 21:14
Replies:
54
No more lenny face
Views:
13,721
Posted By
ici
Re: No more lenny face
( ͡° ͜ʖ ͡°)
Forum:
Scripting
03-22-2015, 11:13
Replies:
2
SetMenuExitBackButton
Views:
1,203
Posted By
ici
Re: SetMenuExitBackButton
FirstMenu(client)
{
new Handle:menu = CreateMenu(FirstMenu_Handler);
SetMenuTitle(menu, "My First Menu");
AddMenuItem(menu, "1", "Go to the second menu");
...
Forum:
Scripting
03-21-2015, 17:32
Replies:
5
CSS check if death is by back stab?
Views:
1,157
Posted By
ici
Re: CSS check if death is by back stab?
Hook SDKHook_OnTakeDamage and check if the weapon that dealt the damage is weapon_knife. If the damage is greater than 65, then it must be a backstab.
Forum:
Scripting
03-18-2015, 18:46
Replies:
6
Client Index Ref
Views:
1,073
Posted By
ici
Re: Client Index Ref
So referencing is just serializing a variable? I thought that the '&' symbol meant do not recreate / initialize a new instance of the variable that is pushed to the function.
In the following...
Forum:
Scripting
03-18-2015, 17:11
Replies:
6
Client Index Ref
Views:
1,073
Posted By
ici
Re: Client Index Ref
Not this kind of entity reference indexes. Sorry, I meant pointers. I'm little bit confused right now.
Action:public(victim, &attacker, &inflictor, &Float:damage, &damagetype)
Aren't &attacker,...
Forum:
Scripting
03-18-2015, 15:11
Replies:
6
Client Index Ref
Views:
1,073
Posted By
ici
Client Index Ref
Why are client indexes not referenced in most of SourceMod's forwards? Is it bad if I reference client indexes in my functions? If somebody could give me an explanation, I'd be thankful! :fox:
Forum:
Extensions
02-23-2015, 17:14
Replies:
50
[CS:S] Flashbang Tools
Views:
53,998
Posted By
ici
Re: [CS:S] Flashbang Tools
Here's the detonate signature for csgo. I couldn't find the other two, sorry.
"CFlashbangProjectile::Detonate"
{
"library" "server"...
Forum:
Scripting
02-20-2015, 03:58
Replies:
3
[CS:GO] Trace attack not called on knife
Views:
1,771
Posted By
ici
Re: [CS:GO] Trace attack not called on knife
You should use OnTakeDamage instead.
Forum:
Scripting
02-17-2015, 16:57
Replies:
15
[CS:GO] Preventing suicide by "kill" or world damage from setting kills negative
Views:
3,205
Posted By
ici
Re: [CS:GO] Preventing suicide by "kill" or world damage from setting kills negative
#pragma semicolon 1
#include <sourcemod>
public OnPluginStart()
{
HookEvent("player_death", Event_PlayerDeath);
}
public Event_PlayerDeath(Handle:event, const String:name[],...
Forum:
Scripting
02-17-2015, 16:36
Replies:
2
HEL Plugin Timer and only for Tīs and alive
Views:
664
Posted By
ici
Re: HEL Plugin Timer and only for Tīs and alive
I don't know what exactly you're trying to achieve.
The following script will allow alive terrorists to run the command once per round.
#pragma semicolon 1
#include <sourcemod>
new...
Forum:
Scripting
02-12-2015, 14:06
Replies:
1
A question about handles and adt_arrays
Views:
584
Posted By
ici
A question about handles and adt_arrays
Suppose I had a trie stored in a global adt_array at position 3.
How would I replace the trie at position 3 with a newly created one without causing memory leaks?
SetArrayCell(My_Array, 3,...
Forum:
Scripting
02-05-2015, 16:19
Replies:
8
How to reset or close a timer before it fired
Views:
2,209
Posted By
ici
Re: How to reset or close a timer before it fired
Thanks for the info bro.
Btw, I've seen people pass the client's unique serial identifier (GetClientSerial).
What is this actually? Is it better to pass that than the userid?
Edit:
Found...
Forum:
Scripting
02-05-2015, 13:20
Replies:
6
Strings in Enums (Array out of bounds)
Views:
1,473
Posted By
ici
Re: Strings in Enums (Array out of bounds)
Talking of Enums and Strings, instead of me making a new thread, can somebody tell me how to use multi-dimensional arrays (strings) in Enums please?
enum MyEnum
{
String:Buffer[32][256],
......
Forum:
Scripting
02-05-2015, 12:50
Replies:
4
code not giving expected results
Views:
1,007
Posted By
ici
Re: code not giving expected results
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
new Handle:ff = INVALID_HANDLE;
new bool:bLateLoad = false;
public APLRes:AskPluginLoad2(Handle:myself,...
Showing results 1 to 25 of 33
Page 1 of 2
1
2
>
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
09:18
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode