Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 63
Search took 0.01 seconds.
Search: Posts Made By: artist
Forum: Suggestions / Requests 01-05-2023, 03:00
Replies: 19
Views: 1,660
Posted By artist
Re: Check if player can see respawn / buying zone

To begin with, it is worth understanding that a traceline can only be drawn to a certain point.

You can get the coordinates of all points at the start and draw lines to them in a cycle.

Here is...
Forum: Scripting 01-03-2021, 06:51
Replies: 2
Views: 901
Posted By artist
Forum: Scripting 01-02-2021, 08:33
Replies: 2
Views: 901
Posted By artist
Display all cvars

How to sort through all the cvars?

#include <sourcemod>

public OnPluginStart()
{
RegConsoleCmd("111", test);
}
public Action:test(client, args)
{
Forum: Scripting 03-15-2018, 07:14
Replies: 4
Views: 1,221
Posted By artist
Re: "FindEntityByClassname" not supported by this mod

Thank you, understood.
I'm not a fan of updates, I installed a stable version and I do not need anything else.

In principle, this function was superfluous for my purposes.
Sorting out all the...
Forum: Scripting 03-14-2018, 07:01
Replies: 4
Views: 1,221
Posted By artist
Re: "FindEntityByClassname" not supported by this mod

Did so:
float g_iSpawnOrigin[2][33][3];
int g_iNumSpawnTT = 0, g_iNumSpawnCT = 0;

public OnMapStart()
{
decl String:szClass[65];
new ent = MaxClients - 1;
new MaxEntities =...
Forum: Scripting 03-14-2018, 06:13
Replies: 4
Views: 1,221
Posted By artist
"FindEntityByClassname" not supported by this mod

Counter Strike: Source.
Metamod Build 961
Source Mod Build 6041

The console displays:

L 03/14/2018 - 14:11:27: [SM] Exception reported: "FindEntityByClassname" not supported by this mod
L...
Forum: Scripting 03-14-2018, 05:45
Replies: 2
Views: 1,000
Posted By artist
Re: Global const array.

Thank you. ))
Forum: Scripting 03-14-2018, 05:30
Replies: 2
Views: 1,000
Posted By artist
Global const array.

const char[] String:szSpawn = {"", "info_player_terrorist", "info_player_counterterrorist", ""}



How right?
Forum: Scripting Help 12-15-2017, 01:24
Replies: 1
Views: 644
Posted By artist
Edit return value set_native_filter.

#include <amxmodx>

native get_pl_value(id)

public plugin_init()
{
register_clcmd("say / value", "functions")
}
public plugin_natives()
{
Forum: Scripting Help 09-16-2017, 14:33
Replies: 8
Views: 1,646
Posted By artist
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity

Да это на форуме вопрос задали, чтобы несколько объектов бежали за игроком(заинтересовал игнор в трейсе, никогда им не пользовался)...
Тогда и мой вариант сойдет...
Спасибо за уделённое время. ))
...
Forum: Scripting Help 09-16-2017, 13:40
Replies: 8
Views: 1,646
Posted By artist
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity

set_pev(ent, pev_movetype, MOVETYPE_PUSHSTEP)
set_pev(ent, pev_solid, SOLID_BBOX)

Так у меня оно так и есть.
Но трасса прерывается упершись в этот объект.

So at me it indeed is.
But the...
Forum: Scripting Help 09-16-2017, 08:40
Replies: 8
Views: 1,646
Posted By artist
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity

Я проверял, ставил 2х ботов, от одного к другому трейс пускал, вставал между ними - и трасса проходила до конца(игнорируя меня).
Искал в SDK, что бы такого объекту установить, чтобы его тоже...
Forum: Scripting Help 09-16-2017, 05:24
Replies: 8
Views: 1,646
Posted By artist
EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity

How to make traces ignore user objects?

Create "info_target" object, i ask him:
set_pev(ent, pev_flags, FL_MONSTER)

Further I do a trace:
engfunc(EngFunc_TraceLine, start, end,...
Forum: Scripting Help 08-19-2017, 06:57
Replies: 10
Views: 2,983
Posted By artist
Re: Trace hull custom box.

Да я читал, просто не понимаю, почему по максимальным стенкам всё статично...
_____________________________________________________________________

Yes, I read, I just do not understand why all...
Forum: Scripting Help 08-17-2017, 16:42
Replies: 10
Views: 2,983
Posted By artist
Re: Trace hull custom box.

I did a plug-in for testing:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

new g_sync
new sprite_index[2]
new Float:g_step[33]
new g_idmenu[33]
new g_nums[33]
Forum: Scripting Help 08-16-2017, 14:09
Replies: 10
Views: 2,983
Posted By artist
Re: Trace hull custom box.

Блин, перевод с русского на английский, а потом на русский...
Я так понял, что функция получает размеры объекта, и уже по этим размерам проверяет.
Я проверял не стандартные размеры, создал...
Forum: Scripting Help 08-14-2017, 01:15
Replies: 10
Views: 2,983
Posted By artist
Forum: Scripting Help 08-11-2017, 06:15
Replies: 10
Views: 2,983
Posted By artist
Re: Trace hull custom box.

Incorrectly checks maxs:


#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

new g_sync
new sprite_index[2]
new g_null[33]
Forum: Scripting Help 08-11-2017, 04:56
Replies: 10
Views: 2,983
Posted By artist
Re: Trace hull custom box.

And this:

EngFunc_TraceMonsterHull (edict_t *pEdict, const float *v1, const float *v2, int fNoMonsters, edict_t *pentToSkip, TraceResult *ptr);

Does not check on the boxes of the entity?
Forum: Scripting Help 08-10-2017, 15:47
Replies: 10
Views: 2,983
Posted By artist
Trace hull custom box.

Is it possible to check the space on their boxes?
Or can only these?

new const Float:absmin[][] =
{
{0.0, 0.0, 0.0}, // POINT
{-16.0, -16.0, -36.0}, // HUMAN
{-32.0, -32.0, -32.0}, //...
Forum: Scripting 06-25-2016, 12:19
Replies: 0
Views: 423
Posted By artist
[CSS] Does not work multijump

Function OnPlayerRunCmd - not caused.

//#include <sourcemod>
#include <sdktools>

new g_iJumps[MAXPLAYERS+1]
new g_fLastButtons[MAXPLAYERS+1]
new g_fLastFlags[MAXPLAYERS+1]
new g_iJumpMax = 1
Forum: Scripting Help 05-26-2016, 15:51
Replies: 3
Views: 895
Posted By artist
Re: Сhange the string "rebuy"

Thank you ))

Nothing displays, empty string...
First introduced in the console "autobuy", later "kill", later "rebuy", and then I tried to get a string from the offset...
Forum: Scripting Help 05-26-2016, 15:16
Replies: 3
Views: 895
Posted By artist
Сhange the string "rebuy"

I want to add a weapon to "F2", when issued its "give_item(id, "weapon_m4a1")"

void _ClientCommand(edict_t *pEntity)
{
//........................
else if (FStrEq(pcmd, "cl_setrebuy"))
{...
Forum: General 01-28-2016, 00:54
Replies: 1
Views: 779
Posted By artist
Where to look box TraceNull (NULL_HUMAN, NULL_LARGE, NULL_HEAD)

I can not find to cssdk.

#define TRACE_HULL (*g_engfuncs.pfnTraceHull)

pfnTraceHull - No resylts

Found only:
#define VEC_HULL_MIN Vector(-16, -16, -24)
#define VEC_HULL_MAX Vector(16,...
Forum: Code Snippets/Tutorials 12-15-2015, 01:27
Replies: 24
Views: 22,091
Posted By artist
Re: [INC] ColorStatus

#include <fakemeta>
Showing results 1 to 25 of 63

 
Forum Jump

All times are GMT -4. The time now is 21:58.


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