Raised This Month: $342 Target: $400
 85%   Almost there!

Showing results 1 to 25 of 187
Search took 0.01 seconds.
Search: Posts Made By: farawayf
Forum: Scripting 08-20-2021, 17:22
Replies: 0
Views: 341
Posted By farawayf
Getting and setting correct coordinates for BeamPoints

Hello.

For example, i want to draw a triangle with "TE_SetupBeamPoints" and 3 lines.


void DrawTriangle(int client, float size)
{
float origin[3], originEdit[3];...
Forum: Scripting 05-18-2021, 06:29
Replies: 0
Views: 304
Posted By farawayf
env_sprite/oriented animation

The sprite is becoming non animated if the sprite file not existing on server side but client side. I want to start animation manually, but the entity does not have input for that.

The solution is...
Forum: Scripting 04-20-2021, 13:50
Replies: 4
Views: 1,162
Posted By farawayf
Re: Forward call order

Afaik there is a chance that OnClientCookiesCached will be called after OnClientPostAdminCheck. Its rare but depends on db.
Forum: Scripting 04-02-2021, 18:16
Replies: 5
Views: 443
Posted By farawayf
Re: trace ray not hitting head

i wasnt trying to be rude. thats just the answer.
i did not write my code because after it i tried a lot of codes and all the results were the same, so it was just nonse doing it again.
Thank you...
Forum: Scripting 04-02-2021, 15:04
Replies: 5
Views: 443
Posted By farawayf
Re: trace ray not hitting head

it not matters. i tried any snippets from topics and all of them not hitting players head.
for example https://forums.alliedmods.net/showpost.php?p=699014&postcount=12|
hits body, but not head....
Forum: Scripting 04-02-2021, 13:25
Replies: 5
Views: 443
Posted By farawayf
trace ray not hitting head

as the title of topic says, traceray never hits players head.
is there any way to get if client aiming head ?
Forum: Snippets and Tutorials 03-29-2021, 08:57
Replies: 48
Views: 66,238
Posted By farawayf
Re: A vtable dumper that even you can use!

Infinite load on main page. Nothing shows up and if i try drag+put file it goes to infinite load again
Forum: Scripting 03-08-2021, 07:06
Replies: 8
Views: 593
Posted By farawayf
Re: Work with ConVars

something like this will be more optimised


char cValue[12];
int iValue;

public void OnPluginStart()
{
ConVar cvar;
cvar = CreateConVar("sm_cvar_colorvalue", "255 255 255");
Forum: Scripting 03-05-2021, 15:43
Replies: 6
Views: 574
Posted By farawayf
Re: Total weapons count on the map

there is no difference between using it or using loop, because in your example you anyways getting its classname.
Forum: Scripting 03-05-2021, 09:07
Replies: 6
Views: 574
Posted By farawayf
Re: Total weapons count on the map

if you want to get weapons created by map itself, check on loop "i = 65, i < 2048" if entity classname contains weapon_ then try getting its prop m_iHammerID. if value is bigger than 0, then for sure...
Forum: Scripting 02-26-2021, 15:17
Replies: 8
Views: 539
Posted By farawayf
Forum: Scripting 02-15-2021, 08:23
Replies: 3
Views: 437
Posted By farawayf
Re: Does OnPlayerRunCmd Ever Spew Invalid Client Indexes?

it cant if u dont fire it manually.
Forum: Scripting 02-07-2021, 12:33
Replies: 5
Views: 640
Posted By farawayf
Re: [CS:GO] What makes this function lag the server?

float fClosestDistance = 999999999999999.0;
ur creating this every tick, plus other stuff can make these lags.
Forum: Scripting 01-20-2021, 08:42
Replies: 2
Views: 548
Posted By farawayf
Re: Reject Non-VIPs on connect (before they fully join)

there is no way to get their flags before OnClientPostAdminCheck forward due custom plugins database applying them here. but u can make an api system, which saves vips steamid in kv files then...
Forum: Scripting 11-14-2020, 13:44
Replies: 9
Views: 2,705
Posted By farawayf
Re: client side cl_fullupdate

Hi.
Unfortunately no. No longer needed.



Shortly, refreshing edicts datas, mostly by passing null to tick.
That fixes some visual bugs related to models, animations and etc.
Forum: Scripting 01-22-2020, 18:48
Replies: 0
Views: 423
Posted By farawayf
Hiding parented particles

Any ways to hide parented particles for single player ? Setting the edictalways flag on sdkhook settransmit with return type of 3 works well with nonparented particles, but not with parented.
It...
Forum: Scripting 12-14-2019, 16:38
Replies: 5
Views: 618
Posted By farawayf
Re: [CS:S] Problems with EmitSound

yes, it worked now. thanks!
Forum: Scripting 12-14-2019, 14:33
Replies: 5
Views: 618
Posted By farawayf
Re: [CS:S] Problems with EmitSound

so, i need to cut "sound/" from path to make it precache ?
Forum: Scripting 12-14-2019, 10:56
Replies: 5
Views: 618
Posted By farawayf
[CS:S] Problems with EmitSound

Sounds not playing, but debugs works and sounds downloading so problem with emitsound. And there is no error logs.
Can someone look at this sourcecode and say what is wrong ?


#include...
Forum: Scripting 11-08-2019, 18:51
Replies: 3
Views: 743
Posted By farawayf
Re: About QueryClientConVar value

I mean that its possible to bypass string value by changing the 4byte type of convar value(some private cheats can do it). So query cvar value will always return like 0 even if 4byte is 1. There is...
Forum: Scripting 11-08-2019, 04:03
Replies: 3
Views: 743
Posted By farawayf
About QueryClientConVar value

(..., const char[] cvarvalue, any value)


which is the best way to get clients convar value ? afaik "char[] cvarvalue" can get only string value, so its bypassable by changing only int value of...
Forum: Scripting 10-20-2019, 11:55
Replies: 0
Views: 512
Posted By farawayf
A way to crashing clients game

Hello, is there any ways to crash only one client ?
The reason for what i want this, is quite harmless, just to know.
Forum: Scripting 09-06-2019, 10:30
Replies: 1
Views: 963
Posted By farawayf
how to store float on sql table

CREATE TABLE IF NOT EXISTS `players` (`steamid` VARCHAR(32) NOT NULL, `name` VARCHAR(32), `float` VARCHAR(32) NOT NULL PRIMARY KEY (`steamid`))


Getting like float[client] =...
Forum: Scripting 08-25-2019, 14:59
Replies: 4
Views: 1,594
Posted By farawayf
Re: edicts spawning with no class

crashing with all method. i tried, entitys still spawning.
Forum: Scripting 08-24-2019, 07:56
Replies: 4
Views: 1,594
Posted By farawayf
edicts spawning with no class

server crashes due to exceeding the max edicts limit.
i know that game engine have 2048 limit of edicts, but in logs:


...
L 08/23/2019 - 17:34:19: (1.56%) 32 info_player_terrorist
L...
Showing results 1 to 25 of 187

 
Forum Jump

All times are GMT -4. The time now is 17:18.


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