Raised This Month: $23 Target: $400
 5% 

Showing results 1 to 15 of 15
Search took 0.01 seconds.
Search: Posts Made By: Vasto_Lorde
Forum: Scripting 03-07-2019, 03:55
Replies: 4
Views: 915
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
Views: 915
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
Views: 929
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
Views: 5,321
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
Views: 1,685
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
Views: 1,685
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
Views: 1,198
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
Views: 1,685
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
Views: 491
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
Views: 561
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
Views: 1,685
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
Views: 442
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
Views: 442
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
Views: 431
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
Views: 431
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 15 of 15

 
Forum Jump

All times are GMT -4. The time now is 01:07.


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