Raised This Month: $248 Target: $400
 62% 

Showing results 1 to 25 of 134
Search took 0.02 seconds.
Search: Posts Made By: Facksy
Forum: Scripting 08-24-2019, 07:29
Replies: 6
Views: 1,317
Posted By Facksy
Re: [TF2] [Question] How to spawn a demoman shield

The demoshield is not considered as a weapon, but as a wearable ("tf_wearable_demoshield"), so GetPlayerWeaponSlot() will return -1 since thats not a weapon, if you want to modify attibutes, you can...
Forum: Scripting 08-23-2019, 07:41
Replies: 6
Views: 1,317
Posted By Facksy
Re: [TF2] [Question] How to spawn a demoman shield

This is what i use to create demoshield, just change the definition index and the model path
public void OnPluginStart(){
Handle hGameConf = LoadGameConfigFile("tf2.wearables");
if (hGameConf ==...
Forum: Plugins 08-07-2019, 20:26
Replies: 8
Views: 3,479
Posted By Facksy
Re: [ANY] In-Game Admins VIP Manager

*Updated code, new syntax
*Better interactive menu
*New: Set player's admin group

Note:
Setting player's admin group is kinda messy actually because of Keyvalues missreading, sometimes ignoring...
Forum: Plugins 08-01-2019, 17:31
Replies: 3
Views: 3,035
Posted By Facksy
Re: [ANY] Steam Profile

Updated code, new syntax
Forum: Plugins 07-29-2019, 10:03
Replies: 3
Views: 1,964
Posted By Facksy
Re: [TF2]Team Damage

Updated code, new syntax
Forum: Scripting 02-07-2019, 10:44
Replies: 4
Views: 1,254
Posted By Facksy
Re: Best way to get server ip and port

I suggest you OnMapStart() or OnConfigsExecuted()
Forum: Plugin/Gameplay Ideas and Requests 01-29-2019, 10:47
Replies: 0
Views: 338
Posted By Facksy
Upload Files with Steamworks

Is it possible to upload files with steamworks on github for example, or just put the content on a text file on Internet? Because I know how to download files but not how to upload them
Thanks!
Forum: Scripting 01-24-2019, 10:01
Replies: 4
Views: 1,144
Posted By Facksy
Re: I need help for float

float Rate = float(votes) / float(totalVotes*100);
Forum: Scripting 01-14-2019, 15:58
Replies: 10
Views: 1,033
Posted By Facksy
Re: [CS GO] EmitSoundToAll dont work

public void OnMapStart()
{
AddFileToDownloadsTable("sound\jailbreak\round\ambience1.mp3");
PrecacheSound("jailbreak\round\ambience1.mp3");
}

EmitSoundToAll("jailbreak\round\ambience1.mp3");...
Forum: Scripting 01-10-2019, 15:00
Replies: 1
Views: 631
Posted By Facksy
Re: Somebody can help me

stock ParseFormula(boss, const String:key[], const String:defaultFormula[], defaultValue) has 4 parameters, but on lines 4037 4039 4041 and 4042, there are only 3
Forum: Scripting 01-07-2019, 16:11
Replies: 3
Views: 824
Posted By Facksy
Re: [TF2] Problem with setting animation on prop_dynamic

Alright sorry I found the problem ^^, I was using the 1st version of the model which has no animations at all, so now i replaced with the new version which contains all animations and it works,...
Forum: Scripting 01-07-2019, 15:51
Replies: 3
Views: 824
Posted By Facksy
Re: [TF2] Problem with setting animation on prop_dynamic

Oh i tested with hlmv to see if the model had that sequence,
https://i.gyazo.com/efa7529a9b5cd1af744cb9a342558d4f.png
I thought animations were embed with the .mdl, how to make sure if the model...
Forum: Scripting 01-07-2019, 13:22
Replies: 3
Views: 824
Posted By Facksy
[TF2] Problem with setting animation on prop_dynamic

Hey guys I got problem with setting animation on a prop, basically when I taunt i want to spawn a prop_dynamic which imitate a taunt which works on normal models like demos :...
Forum: Scripting 01-03-2019, 08:31
Replies: 11
Views: 1,333
Posted By Facksy
Re: Respawn Bug on Course maps

EventHookMode_Post works too no?
Forum: Scripting 12-28-2018, 10:55
Replies: 4
Views: 877
Posted By Facksy
Re: [Help] Exception reported: Array index out-of-bounds

No, in his case, its sizeof(PrimaryWeaponsList)-1

So it should be like that int Primary = GetRandomInt(0, sizeof(PrimaryWeaponsList)-1);
Forum: Plugins 11-30-2018, 05:50
Replies: 4
Views: 1,711
Posted By Facksy
Re: [CS:GO] The Big Bertha ( All caps )

The video is not available :(
Forum: Scripting 11-23-2018, 11:46
Replies: 14
Views: 1,372
Posted By Facksy
Re: Teloport an Entity above Bomb After Plant

There is no x, y, and z parameters in that event
https://i.gyazo.com/bee687b768e26a78877068a755b55c3a.png
Instead, you can get the abs position of the planter and do your stuff
Forum: Scripting 11-20-2018, 15:33
Replies: 4
Views: 656
Posted By Facksy
Re: [TF2] Plugin without any code changes now crashes

...If you dont post the script its going to be hard to see what is wrong
Forum: Plugins 11-09-2018, 13:42
Replies: 55
Views: 27,947
Posted By Facksy
Re: [ANY] Discord API (Send/Retrieve messages, list Guilds/Channels) UPDATE: 10/1/17

Hey guys, im trying to make a script which allow people with certain roles to relay message to the server.
For example, if a guy have the role "Root", it will send the message to the server but if...
Forum: Scripting 10-24-2018, 10:52
Replies: 2
Views: 272
Posted By Facksy
Re: How to increase gravity for one player

public OnGameFrame()
{
for (new i = 1; i <= MaxClients; i++)
{
if (IsClientInGame(i) && IsPlayerAlive(i)
g_bClientIsInAir[i] =...
Forum: Plugin/Gameplay Ideas and Requests 10-15-2018, 05:36
Replies: 2
Views: 468
Posted By Facksy
Re: [TF2] Creating rockets without rocket launcher

Here is my code, everythings works well except the fact the rocket doesnt do any damage when it explodes, if any one knows why...
public Action spawndemo(client, args)
{
float epos[3],...
Forum: Plugin/Gameplay Ideas and Requests 10-13-2018, 15:14
Replies: 2
Views: 468
Posted By Facksy
[TF2] Creating rockets without rocket launcher

Hello guys, I wanna create a script which create rockets when you attack with your melee weapon, the problem is that I dont know properly how to create the rocket, every times I try to create it,...
Forum: Plugin/Gameplay Ideas and Requests 10-08-2018, 17:08
Replies: 18
Views: 1,095
Posted By Facksy
Re: plugin to emit sound every X seconds

#include <sourcemod>
#include <sdktools>

char g_sSounds[][] =
{
"my/sound/file/here1",
"my/sound/file/here2",
"my/sound/file/here3",
"my/sound/file/here4"
}
Forum: Plugins 09-21-2018, 18:28
Replies: 5
Views: 3,048
Posted By Facksy
Re: [TF2] Set Max Health

With SetEntProp() im pretty sure you can do that, m_iMaxHealth or something like that, anyway you do what you want
Forum: Plugins 09-21-2018, 16:42
Replies: 5
Views: 3,048
Posted By Facksy
Re: [TF2] Set Max Health

I think you can do this without tf2attributes no? Just with properties.
Showing results 1 to 25 of 134

 
Forum Jump

All times are GMT -4. The time now is 19:14.


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