Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Showing results 1 to 18 of 18
Search took
0.00
seconds.
Search:
Posts Made By:
Vasto_Lorde
Forum:
Scripting
07-11-2022, 15:53
Replies:
6
[CS:GO] Modifying knife properties
Views:
875
Posted By
Vasto_Lorde
Re: [CS:GO] Modifying knife properties
I have managed to write this code:
char PropsToCheck[][] = {
"m_fMaxRange1",
"m_fMinRange1",
"m_fMaxRange2",
"m_fMinRange2",
};
float distance = 100;
Forum:
Scripting
07-11-2022, 05:57
Replies:
6
[CS:GO] Modifying knife properties
Views:
875
Posted By
Vasto_Lorde
Re: [CS:GO] Modifying knife properties
I think OnPlayerRunCmd repeats itself too much so i want to avoid using. But thank you for your suggestion
That works very well, thank you. I have tested it and the secondary knife attack...
Forum:
Scripting
07-10-2022, 17:07
Replies:
6
[CS:GO] Modifying knife properties
Views:
875
Posted By
Vasto_Lorde
[CS:GO] Modifying knife properties
Hello. I have been thinking about changing speed of attacking and distance of hitting with a knife.
I have already done this in CS 1.6:
//Code for doubleing speed...
Forum:
Scripting
03-07-2019, 03:55
Replies:
4
Help change button double jump
Views:
1,512
Posted By
Vasto_Lorde
Re: Help change button double jump
Doesn't slow only work when you are on the ground?
I don't think your suggestion is appropiate, since you can not bind users keys from plugin level
Forum:
Scripting
03-06-2019, 14:46
Replies:
4
Help change button double jump
Views:
1,512
Posted By
Vasto_Lorde
Re: Help change button double jump
Hi there! This is the function that creates the ability to do double jump:
DoubleJump(const any:client)
The process of deciding whether the player is airbone and clicks space (IN_JUMP) buton begins...
Forum:
Scripting
03-06-2019, 07:56
Replies:
1
[CS:GO] Stopping sprite animation on a frame
Views:
1,520
Posted By
Vasto_Lorde
[CS:GO] Stopping sprite animation on a frame
Can you stop sprite animation on a certian frame in SourceMod? If i remember correctly there was something like this in AMX
Or just to set the starting frame to some value, so i can just destroy...
Forum:
Plugins
09-03-2018, 15:48
Replies:
3
[CS:GO] Knife round (1.2)
Views:
13,413
Posted By
Vasto_Lorde
[CS:GO] Knife round (1.2)
Desc
Plugin creates an additional round with knifes after warmup. The winning team of this round can choose by vote menu the starting team in the match.
Cvars
Changelog
1.2
- Cvar...
Forum:
Scripting
10-02-2017, 07:27
Replies:
7
[CSGO] Force Velocity on Entity
Views:
4,062
Posted By
Vasto_Lorde
Re: [CSGO] Force Velocity on Entity
After experimenting with models and all:
Solution: Insted of prop_physics for parent i used generic_actor. Its perfect - doesn't fall off, it can be angled, no sounds, its even solid etc.
...
Forum:
Scripting
09-17-2017, 15:37
Replies:
7
[CSGO] Force Velocity on Entity
Views:
4,062
Posted By
Vasto_Lorde
Re: [CSGO] Force Velocity on Entity
Dude you are my master. The movement works fine. But other problems occured:
1. There is a sound of C4 "moving"
2. When they fall from the edge there is a chance they flip over so we can see only...
Forum:
Scripting
09-14-2017, 07:34
Replies:
10
Bhop only for CT
Views:
2,393
Posted By
Vasto_Lorde
Re: Bhop only for CT
Function - https://sm.alliedmods.net/new-api/clients/GetClientTeam
cstrike.inc:
#define CS_TEAM_NONE 0 /**< No team yet. */
#define CS_TEAM_SPECTATOR 1 /**< Spectators. */
#define CS_TEAM_T...
Forum:
Scripting
09-14-2017, 03:24
Replies:
7
[CSGO] Force Velocity on Entity
Views:
4,062
Posted By
Vasto_Lorde
Re: [CSGO] Force Velocity on Entity
Still the same :/
I even tried this: https://forums.alliedmods.net/showthread.php?p=1899572
But the console says
ERROR!: Can't create physics object for models/witchermod/ghoul/ghoul.mdl
Forum:
Scripting
09-13-2017, 19:23
Replies:
3
Swap buttons
Views:
938
Posted By
Vasto_Lorde
Re: Swap buttons
This might help (code from PropHunt by Statistician)
stock void PreventCTFire(int client, int &buttons) {
if (GetClientTeam(client) != CS_TEAM_CT)
return;
char weaponName[30];...
Forum:
Scripting
09-13-2017, 19:15
Replies:
2
Menu that reads and parses strings from file
Views:
1,086
Posted By
Vasto_Lorde
Re: Menu that reads and parses strings from file
You need to open file with this - https://sm.alliedmods.net/new-api/files/OpenFile
Like this for example:
Handle hFile = OpenFile("addons/sourcemod/configs/weapons.ini", "a+");
Then use this...
Forum:
Scripting
09-13-2017, 19:08
Replies:
7
[CSGO] Force Velocity on Entity
Views:
4,062
Posted By
Vasto_Lorde
[CSGO] Force Velocity on Entity
So i have this Entity that i want to move by velocity
This is how i create it:
int ent = CreateEntityByName("prop_dynamic_override");
if(ent != -1 && IsValidEntity(ent)){
float angle[3];...
Forum:
Scripting
09-13-2017, 08:41
Replies:
1
[CSGO] Create entity with model and animate it
Views:
896
Posted By
Vasto_Lorde
Re: [CSGO] Create entity with model and animate it
Again i found my anwser XD i just used
SetEntProp(ent, Prop_Send, "m_nSequence", number_of_animation);
Forum:
Scripting
09-13-2017, 05:39
Replies:
1
[CSGO] Create entity with model and animate it
Views:
896
Posted By
Vasto_Lorde
[CSGO] Create entity with model and animate it
Im trying to create an entity and animate it, i googled and found "SetAnimation" (that doesnt work), also searched for anwsers on this forum. Anyone here knows how to do it properly? (maybe my code...
Forum:
Scripting
10-24-2016, 03:49
Replies:
1
[CS:GO] Distance between 2 entities
Views:
1,209
Posted By
Vasto_Lorde
Re: [CS:GO] Distance between 2 entities
Okay, im dumb, i got this from https://forums.alliedmods.net/showthread.php?p=1640211
stock Float:GetEntitiesDistance(ent1, ent2)
{
new Float:orig1[3];
GetEntPropVector(ent1, Prop_Send,...
Forum:
Scripting
10-24-2016, 03:27
Replies:
1
[CS:GO] Distance between 2 entities
Views:
1,209
Posted By
Vasto_Lorde
[CS:GO] Distance between 2 entities
Hi there im new, this is my first post.
So i need to get the distance between 2 entities in whatever units. To be more precise:
-I need to get the distance between player and entity i have...
Showing results 1 to 18 of 18
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
09:39
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode