Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $32
Target: $400
8%
Showing results 1 to 21 of 21
Search took
0.01
seconds.
Search:
Posts Made By:
chickez
Forum:
Scripting Help
03-01-2021, 07:20
Replies:
2
Round
Views:
443
Posted By
chickez
Re: Round
https://forums.alliedmods.net/showthread.php?t=156574
Forum:
Scripting Help
02-11-2021, 03:50
Replies:
3
Solved
Compiling error
Views:
449
Posted By
chickez
Re: Compiling error
condition ? YES : NO //good
condition ? YES ? YES2 : NO : NO2 //bad
//------
//better for you to use
if ( condition )
YES
else
NO
You have lot of to learn.
Forum:
Scripting Help
02-08-2021, 09:52
Replies:
7
Solved
+strafe (strafe modifier)
Views:
1,146
Posted By
chickez
Re: +strafe (strafe modifier)
Thank you. Yes, i know the reason ;).
I think, all what i wanted to know is here written.
Thanks for support. Solved.
Forum:
Scripting Help
02-06-2021, 10:56
Replies:
7
Solved
+strafe (strafe modifier)
Views:
1,146
Posted By
chickez
Re: +strafe (strafe modifier)
Good idea. I will try it.
Forum:
Scripting Help
02-05-2021, 18:41
Replies:
7
Solved
+strafe (strafe modifier)
Views:
1,146
Posted By
chickez
Re: +strafe (strafe modifier)
It's what I wrote.
If sidemove or forwardmove != maxspeed - should be obvious strafehelper. Lot of strafehelpers have more sidemove / forwardmove than maxspeed. But strafe modifier change the...
Forum:
Scripting Help
02-05-2021, 11:29
Replies:
7
Solved
+strafe (strafe modifier)
Views:
1,146
Posted By
chickez
Re: +strafe (strafe modifier)
Yes, it change forwardmove and sidemove. It's if i'm holding A ( IN_MOVELEFT ), sidemove is value of maxspeed. In example, maxspeed is 250.0 , so IN_MOVELEFT is 250.0 ( but first frame is 200.0 , i'm...
Forum:
Scripting Help
02-05-2021, 04:16
Replies:
7
Solved
+strafe (strafe modifier)
Views:
1,146
Posted By
chickez
+strafe (strafe modifier)
Hi, I want to check, if user is using strafe modifier.
I tried to hook +strafe / -strafe command, to detect if the player is using strafe modifier.
#include <amxmodx>
#include <amxmisc>
new...
Forum:
Scripting Help
07-13-2020, 08:27
Replies:
5
Disable Huds From Plugins
Views:
706
Posted By
chickez
Re: Disable Huds From Plugins
Oh, I see.
Thank you for explanation.
Forum:
Scripting Help
07-13-2020, 03:49
Replies:
5
Disable Huds From Plugins
Views:
706
Posted By
chickez
Re: Disable Huds From Plugins
// Toggle Showing Hud Message On / Off
public cmdToggleHud( id ) {
g_bToggleHud[ id ] = !g_bToggleHud[ id ];
return PLUGIN_HANDLED;
}
It will set bool to false one time. When player...
Forum:
Scripting Help
07-05-2020, 10:55
Replies:
6
Solved
Math and and hook "say"
Views:
812
Posted By
chickez
Re: Math and get integer from clcmd "say"
Okey, I was coding all day long.
I did it, i think.
#include <amxmodx>
#define PLUGIN "math"
#define VERSION "0.1"
#define AUTHOR "chick"
Forum:
Scripting Help
07-05-2020, 06:32
Replies:
6
Solved
Math and and hook "say"
Views:
812
Posted By
chickez
Re: Math and get integer from clcmd "say"
Okey, i think, i know how to use read_argv(). So str_to_num doesn't know, if i'm right.
What about equali? It is for compare two strings. So I must use num_to_str for equali?
I tried this:...
Forum:
Scripting Help
07-05-2020, 03:58
Replies:
6
Solved
Math and and hook "say"
Views:
812
Posted By
chickez
Re: Math and get integer from clcmd "say"
I changed code a little.
#include <amxmodx>
#define PLUGIN "Math Examples"
#define VERSION "0.1"
#define AUTHOR "chick"
public plugin_init ( )
Forum:
Scripting Help
07-03-2020, 12:07
Replies:
6
Solved
Math and and hook "say"
Views:
812
Posted By
chickez
Math and and hook "say"
Hey.
I was looking for plugin, which is - math examples, and who first write right sum *do something*.
But I didn't find.
Code:
#include <amxmodx>
#define PLUGIN "Math Examples"
#define...
Forum:
Scripting Help
07-02-2020, 08:15
Replies:
22
Solved
set_lights in cvar
Views:
1,753
Posted By
chickez
Re: set_lights in cvar
Thank you.
Thanks all to help and explanation. I have all what I want to know.
Forum:
Scripting Help
07-02-2020, 06:09
Replies:
22
Solved
set_lights in cvar
Views:
1,753
Posted By
chickez
Re: set_lights in cvar
Sorry, my fault. I skipped that, don't know how :cry: .
The best way is, when cvar is changed, then call the func. As you see, I did it with set_task, but I don't know, if set_task will slow...
Forum:
Scripting Help
06-30-2020, 17:04
Replies:
0
Create entity func_button on aim end
Views:
555
Posted By
chickez
Create entity func_button on aim end
Hey.
I read about create entity. So I didn't figure it out, how to create func_button where I'm aiming.
I'm mapper, so I know, how entities in maps work. But I want to create via a client command...
Forum:
Scripting Help
06-30-2020, 10:23
Replies:
22
Solved
set_lights in cvar
Views:
1,753
Posted By
chickez
Re: set_lights in cvar
I did this:
#include <amxmodx>
#include <engine>
#define PLUGIN "Server Lights"
#define VERSION "0.1"
#define AUTHOR "chick"
new g_cvarLight
Forum:
Scripting Help
06-30-2020, 06:38
Replies:
22
Solved
set_lights in cvar
Views:
1,753
Posted By
chickez
Re: set_lights in cvar
I understood. So in this situation, I can set size of string, because It will be one char always.
Other question to this situation. When I change the value of cvar (amxx_lights) in example, to "m"...
Forum:
Scripting Help
06-30-2020, 06:20
Replies:
22
Solved
set_lights in cvar
Views:
1,753
Posted By
chickez
Re: set_lights in cvar
Ye, it's 1.8.2, the latest.
Charsmax inside the get_pcvar_string()?
public setServerLights()
{
new lights[];
get_pcvar_string(g_lights, lights, charsmax(2));
Forum:
Scripting Help
06-28-2020, 23:48
Replies:
22
Solved
set_lights in cvar
Views:
1,753
Posted By
chickez
Re: set_lights in cvar
Yes, that is, what i want.
new lights[2];
get_pcvar_string(g_lights, lights, 2);
So, get_pcvar_string works like this ye? I understood this command otherwise.
Thank you for help! :)
Forum:
Scripting Help
06-28-2020, 17:36
Replies:
22
Solved
set_lights in cvar
Views:
1,753
Posted By
chickez
set_lights in cvar
Hey.
I'm beginner in scripting.
I want to create cvar, which will change the light.
Example: server_light "b"
Then set_lights is set to "b".
But doesn't work.
Showing results 1 to 21 of 21
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
00:33
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode