Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 375
Search took 0.01 seconds.
Search: Posts Made By: akcaliberg
Forum: New Plugin Submissions 09-27-2023, 12:49
Replies: 38
Views: 27,083
Posted By akcaliberg
Re: Sprint - Run Faster [Double-Tap System]

Your solution would work, but a more efficient way would be adding another boolean for whether the player is holding a knife and flipping that boolean in "message_cur_weapon" event based on the...
Forum: Scripting 06-27-2018, 14:45
Replies: 2
Views: 830
Posted By akcaliberg
Re: [CSGO] Slap back.

I don't really understand what you mean, but you can invert any vector by switching the signs of its components. Like this:

inverse_vec[0] = -vec[0];
inverse_vec[1] = -vec[1];
inverse_vec[2] =...
Forum: Scripting 06-15-2018, 07:50
Replies: 2
Views: 981
Posted By akcaliberg
Re: [L4D] Hook use medkit / pills

I guess you are looking for these events:

https://wiki.alliedmods.net/Left_4_Dead_Events#heal_begin
https://wiki.alliedmods.net/Left_4_Dead_Events#pills_used

You can hook events using the...
Forum: Scripting 06-14-2018, 09:34
Replies: 13
Views: 4,559
Posted By akcaliberg
Re: [HELP] Infinite ammo?

As someone else said you should check StrContains return value against -1

Also this code may prevent players from having unlimited ammo if there is another weapon in the same slot

(weapon ==...
Forum: Scripting 06-13-2018, 15:18
Replies: 8
Views: 2,029
Posted By akcaliberg
Re: Optimized Plugin?

Since a variable can only have a single value at a time, you should not keep comparing it with other values once you find a match.

So instead of doing:


if(something == a) ...
if(something ==...
Forum: Scripting 06-12-2018, 04:15
Replies: 3
Views: 974
Posted By akcaliberg
Re: if model name...

There is a logic error in the code here:

if(GetStringTableNumStrings(_tableIndex) >= idx)

GetStringTableNumStrings(_tableIndex) will return the number of models in the modelprecache table. So...
Forum: Source Servers (SRCDS) 06-09-2018, 22:05
Replies: 19
Views: 2,783
Posted By akcaliberg
Re: Why can't i make myself an admin?

http://i66.tinypic.com/29p50ux.png


http://i68.tinypic.com/210yruw.png

Upload your file from there. DO NOT COPY PASTE IT.

If you succeed, it should look like this:
...
Forum: Scripting 06-08-2018, 20:09
Replies: 3
Views: 974
Posted By akcaliberg
Re: if model name...

strcmp() returns 0 for equal strings. So the condition will always be true unless the ModelName equals "*/weapons/v_snip_awp.mdl".

You should change it like this:


if...
Forum: Scripting Help 06-04-2018, 04:40
Replies: 7
Views: 1,745
Posted By akcaliberg
Re: Random Command every 10 sec

Create an array of the commands you would like to be executed randomly.
Set a timed task that will be executed every 10-20 seconds.
Get a random number between 0 and the size of your commands...
Forum: Scripting 06-03-2018, 13:43
Replies: 1
Views: 979
Posted By akcaliberg
Re: [CS:GO] Help me w/ custom chat.

Here is a simple plugin that does the job.


#pragma semicolon 1

#define PLUGIN_AUTHOR "akcaliberg"
#define PLUGIN_VERSION "1.00"

#include <sourcemod>
#include <sdktools>
Forum: Source Servers (SRCDS) 06-03-2018, 09:47
Replies: 8
Views: 1,846
Posted By akcaliberg
Re: Server crashing, when someone use "retry"

Do what it says, and hopefully you will get a more detailed information about the problem:



Something like this:

./srcds_run -debug <and the rest of the arguments>

EDIT: Sorry didn't see...
Forum: Source Servers (SRCDS) 05-30-2018, 10:22
Replies: 19
Views: 2,783
Posted By akcaliberg
Re: Why can't i make myself an admin?

No.

Click "Go Advanced" in the Quick Reply panel.
Then scroll down to the "Additional Options" section and click "Manage Attachments".
Upload your file from there.
Forum: Source Servers (SRCDS) 05-26-2018, 15:01
Replies: 20
Views: 4,370
Posted By akcaliberg
Re: CSGO Lan Server

Somehow your computer can't reach the DHCP server of your router.

Make sure your range extender is on the same network with your root router. For instance, if your router's IP address is...
Forum: Source Servers (SRCDS) 05-25-2018, 10:15
Replies: 2
Views: 1,872
Posted By akcaliberg
Re: CS:GO Models Mechanism

Thanks for the link, it helped clarify some things.

I couldn't get the decompiler working but I've found a quicker solution for retrieving the data from .mdl files. I used "strings" command in...
Forum: Source Servers (SRCDS) 05-24-2018, 15:34
Replies: 2
Views: 1,872
Posted By akcaliberg
CS:GO Models Mechanism

Hi people,

I was wondering if there is a way to know what files does a model file require. I mean every .mdl file comes with series of files with extensions .vmt .dx90.vtx .vtf .vvd .phy etc.
...
Forum: Scripting Help 05-24-2018, 13:51
Replies: 6
Views: 1,361
Posted By akcaliberg
Re: KnifeModels Error

Your index is out of array's bounds.

It throws the error when you try to look into the 9th cell of the array, but the array has only 9 items (cell indices: 0..8 ).

Assuming your g_iKnivesNum...
Forum: Source Servers (SRCDS) 05-21-2018, 13:02
Replies: 6
Views: 2,765
Posted By akcaliberg
Re: [CSGO] Installing server through SteamCMD using CSGO game files

I didn't want to download entire 15 GB since I have a very poor internet connection at the moment.

Downloaded it anyway. But I realized it downloaded the files into the folder I have specified...
Forum: Scripting Help 05-21-2018, 10:33
Replies: 3
Views: 894
Posted By akcaliberg
Re: Is this plugin coded properly? (CS:GO EQUPMENT)

It will be easier for us to figure out what's wrong with the code, if you post the debug messages that the server console shows. To enable debug messages; add "debug" after the plugin name in the...
Forum: Source Servers (SRCDS) 05-21-2018, 10:08
Replies: 6
Views: 2,765
Posted By akcaliberg
Re: [CSGO] Installing server through SteamCMD using CSGO game files

Bump.

This is ridiculous. Steam is downloading the files I already have. I have copied everything inside the "Counter-Strike Global Offensive" folder to "downloading/740". Deleted the .acf and...
Forum: Scripting 12-01-2015, 09:40
Replies: 17
Views: 2,565
Posted By akcaliberg
Re: [Help] Respawns in VIP Menu!

Make sure you have access to the command "generic_admin". (I am not sure if this command even exists.)

Make sure you have ADMFLAG_RESERVATION admin flag.

Also readjust your code as tommie113...
Forum: Scripting 11-30-2015, 09:51
Replies: 17
Views: 2,565
Posted By akcaliberg
Re: [Help] Respawns in VIP Menu!

add:

return true;

at the end of your OnClientConnect function.
Forum: Scripting 11-27-2015, 20:37
Replies: 10
Views: 2,331
Posted By akcaliberg
Re: What can be done at OnClientDisconnect

lol

Sorry couldn't hold myself.
Forum: Scripting 11-24-2015, 16:48
Replies: 17
Views: 2,565
Posted By akcaliberg
Re: [Help] Respawns in VIP Menu!

You need to return true the forward OnClientConnect. Otherwise connection will be rejected.
Forum: Scripting 11-23-2015, 06:35
Replies: 2
Views: 2,460
Posted By akcaliberg
Re: [CS:GO] SetEntityModel -> Giant Error Box

I was sure like a year ago. I checked again and found out that there was missing some vmt and vtf files. This game's model system is a bit strange. Why there are lots of different files for just one...
Forum: Scripting 11-22-2015, 17:17
Replies: 2
Views: 2,460
Posted By akcaliberg
[CS:GO] SetEntityModel -> Giant Error Box

Hi, I am new in SourceMod. I don't know what I'm doing wrong here. I searched the forums but couldn't find a working solution.

When I type set_zombiemodel in console, a giant error box appears...
Showing results 1 to 25 of 375

 
Forum Jump

All times are GMT -4. The time now is 23:16.


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