Raised This Month: $202 Target: $400
 50% 

Showing results 1 to 25 of 138
Search took 0.01 seconds.
Search: Posts Made By: kww
Forum: Scripting Help 09-12-2021, 05:07
Replies: 5
Views: 292
Posted By kww
Re: Need help with change command syntax

Team argument should be necessary. [name or #userid] and [kill] can be omitted. If i will ignore name and want to move myself then syntax will be setteam spec kill, but what if i have player with...
Forum: Scripting Help 09-11-2021, 10:54
Replies: 5
Views: 292
Posted By kww
Forum: Scripting Help 09-11-2021, 08:36
Replies: 5
Views: 292
Posted By kww
Need help with change command syntax

Hi men! I made some command to set player's team. (I needed it and I made it) It works cool, but not as I wanted first.
Syntax now: setteam <team: t|ct|spec> [name or #userid] [kill]
Is it possible...
Forum: Scripting Help 09-09-2021, 14:54
Replies: 5
Views: 301
Posted By kww
Re: What does mean ampersands and dots before variable name?

Not sure that i understood about ampersands but thank you so much


plugin_init()
{
new x = 1
new y = 2

// I want to make sure. If i change them in funcA/B
funcA(x)
Forum: Scripting Help 09-09-2021, 03:16
Replies: 5
Views: 301
Posted By kww
What does mean ampersands and dots before variable name?

E.g.

native CsTeams:cs_get_user_team(index, &any:model = CS_DONTCHANGE);

or

set_task(0.1, function, .flags = "b")
Forum: Scripting Help 09-08-2021, 00:28
Replies: 0
Views: 185
Posted By kww
Send radio messages

is it possible to make specified player send specified radio commands via custom created menu. E.g. we have "radio1/2/3" commands with many many items in them. I want to make small menu with fast...
Forum: Scripting Help 09-08-2021, 00:22
Replies: 3
Views: 502
Posted By kww
Forum: Scripting Help 09-02-2021, 19:10
Replies: 3
Views: 502
Posted By kww
hud messages transparency

Is possible to decrease or bypass (d)hud messages transparency? When i show messages, their colors become slightly (and sometimes not) distorted because of this thing
Forum: Scripting Help 08-30-2021, 11:40
Replies: 2
Views: 326
Posted By kww
Re: how to show translated text in hud?

tysm for this useful snippet i will steal it, but i wanted a bit different (maybe I asked the question incorrectly). Is it possible to show that texts with hud_showmessage?
Forum: Scripting Help 08-30-2021, 11:35
Replies: 3
Views: 315
Posted By kww
Re: execute function no clutch

I need to run some function when 1 ct and 1 tt remains alive
Forum: Scripting Help 08-30-2021, 07:05
Replies: 3
Views: 315
Posted By kww
execute function on clutch

how to execute function when clutch 1v1 starts?
Forum: Scripting Help 08-30-2021, 06:31
Replies: 2
Views: 326
Posted By kww
how to show translated text in hud?

Hi. How can I show translated text keys (like "#Bomb_Planted", etc.) in HUD messages? So instead of "#Bomb_Planted" players will see "The bomb has been planted!"
Forum: Scripting Help 08-25-2021, 12:29
Replies: 2
Views: 344
Posted By kww
Re: Can't make colored DHUD message (noob)

oh man it worked but colors are too bright in cs 1.6
When I picked 'em in photoshop they looked nice
Forum: Scripting Help 08-25-2021, 07:10
Replies: 2
Views: 344
Posted By kww
Can't make colored DHUD message (noob)

So I wanna ask some help from SUPER MEGA PRO scripters.
When i show message it appears in white color

// define colors
enum _:sc {
sc_OLD = 0,
sc_CT,
sc_T,
sc_WHITE,
}
Forum: Off-Topic 08-14-2021, 14:54
Replies: 10
Views: 1,017
Posted By kww
Forum: Scripting Help 07-14-2021, 12:47
Replies: 6
Solved title
Views: 822
Posted By kww
Re: title

/* so this: */ for (--iAliveCount; iAliveCount >= 0; iAliveCount--)
/* can be replaced by: */ for (new i; i < iAliveCount; i++) /* ? */
// am I right?
Forum: Scripting Help 07-14-2021, 09:52
Replies: 6
Solved title
Views: 822
Posted By kww
Re: title

how can be -- replaced by ++ in provided code?
Forum: Scripting Help 07-13-2021, 13:05
Replies: 6
Solved title
Views: 822
Posted By kww
title

can someone help me with equivalents of this snippets?
I can't understand how -- works

1) for(--iAliveCount; iAliveCount >= 0; iAliveCount--)
2) iDeadPlayers[i--] = iDeadPlayers[--iDeadCount]
...
Forum: Scripting Help 07-03-2021, 07:45
Replies: 8
Views: 609
Posted By kww
Re: Cmds taking wrong executor's id

hmm... first i used "plist" command and it printed all users ids in console, then i used any of provided ids in "bhop toggle" and it worked and i found nothing wrong. but thank you for remark


...
Forum: Scripting Help 07-02-2021, 15:51
Replies: 8
Views: 609
Posted By kww
Re: Cmds taking wrong executor's id

Me



hmm... even if it is, how can it break other commands? btw usually it's working as i expected and very rare this error appears and i must restart the game to fix it ("restart" command isn't...
Forum: Scripting Help 07-01-2021, 09:17
Replies: 8
Views: 609
Posted By kww
Re: Cmds taking wrong executor's id

listen server

i think no need to use HLDS to play together in one room :)



it have the same behavior


public plugin_init() {
Forum: Scripting Help 06-30-2021, 08:34
Replies: 8
Views: 609
Posted By kww
Cmds taking wrong executor's id

Sometimes (very rarely) when i'm starting lan server i can't use about half of custom commands. I'm playing with my brother and when i'm trying to enable noclip (code below) or entering other...
Forum: Scripting Help 06-30-2021, 08:17
Replies: 4
Views: 389
Posted By kww
Re: [INC] Formatin.inc

maybe you should look for it in customshop repo at OciXCrom's git?
Forum: Scripting Help 06-25-2021, 05:31
Replies: 0
Views: 289
Posted By kww
VGUI x AMXX?

Can variables be shown via VGUI? Is it possible?
Forum: Scripting Help 06-23-2021, 14:25
Replies: 3
Views: 305
Posted By kww
Re: warn 213 when i'm using enums

Thank you @Natsheh and @HamletEagle
Showing results 1 to 25 of 138

 
Forum Jump

All times are GMT -4. The time now is 22:36.


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