Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 4
1
2
3
>
Last
»
Showing results 1 to 25 of 78
Search took
0.01
seconds.
Search:
Posts Made By:
Inhib
Forum:
Scripting
06-25-2015, 07:57
Replies:
1
[TF2] Hooking Player Attack
Views:
716
Posted By
Inhib
[TF2] Hooking Player Attack
I want to hook player attack after the event happens, I know there's a player_shoot event, but last time I checked, it doesn't work for tf2. I know CalcIsAttackCritical works but, it hooks pre and...
Forum:
Scripting
06-23-2015, 08:32
Replies:
3
Addition of 2 Floats
Views:
550
Posted By
Inhib
Re: Addition of 2 Floats
Well, it works now using
https://sm.alliedmods.net/new-api/float/FloatAdd
still have no clue why I need a specific function like that to do arithmetic
Forum:
Scripting
06-23-2015, 07:52
Replies:
3
Addition of 2 Floats
Views:
550
Posted By
Inhib
Addition of 2 Floats
Code:
new float:vector[3];
new float:getspeed[3];
getspeed[0]+=vector[0];
getspeed[1]+=vector[1];
getspeed[2]+=vector[2];
Forum:
Scripting
03-17-2015, 02:52
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
Full Code:
#include <sourcemod>
#include <clients>
#include <console>
#include <events>
#include <tf2>
#include <tf2_stocks>
#include <string>
#include <entity_prop_stocks>
Forum:
Scripting
03-16-2015, 03:42
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
SetEntDataFloat(rocket_entity, FindSendPropOffs("CTFProjectile_Rocket", "m_iDeflected") + 4, 100.0, true);
Still no damage
Forum:
Scripting
03-15-2015, 01:08
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
SetEntDataFloat(rocket_entity, FindSendPropInfo("CTFProjectile_Rocket", "m_iDeflected") + 4, 100.0, true);
Does no damage
Side note: any dump for classnames?
Edit:
CreateEntityByName...
Forum:
Scripting
03-14-2015, 12:51
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket, Setting Entity Properties(TF2)
Ripped this off your code:
SetEntDataFloat(rocket_entity, FindSendPropInfo("tf_projectile_rocket", "m_iDeflected") + 4, 100.0, true);
crashes the server, works fine when it's commented out,...
Forum:
Scripting
03-14-2015, 12:33
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
is netclass the classname? or is it something else, in which case, what would it be in this case and is there a dump for all netclasses?
Edit: The API says it uses the classname,...
Forum:
Scripting
03-14-2015, 12:27
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
still can't get damage working though
Forum:
Scripting
03-14-2015, 06:10
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
checked, classname IS "tf_projectile_rocket", but when I used this code:
SetEntData(rocket_entity, FindSendPropInfo("tf_projectile_rocket", "m_iTeamNum"), team, true); <---Line 181...
Forum:
Scripting
01-04-2015, 01:47
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
I think the problem is in the "FindSendPropInfo("tf_projectile_rocket", "m_iDeflected") + 4" part, because the property supposed to be there is a string rather than an integer which we are returning....
Forum:
Scripting
01-04-2015, 01:40
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
/groups/sourcemod/upload_tmp/texttheWBj.sp(182) : warning 213: tag mismatch
/groups/sourcemod/upload_tmp/texttheWBj.sp(182) : error 035: argument type mismatch (argument 3)
My Code:
new...
Forum:
Scripting
01-03-2015, 09:00
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
welp.. thanks!
Forum:
Scripting
01-02-2015, 08:47
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
Unnamed properties seem pretty annoying, is there anywhere where ALL properties are documented? I know sm_dump_netprops does this, but does it include the unnamed props? also, this dump does not...
Forum:
Scripting
01-01-2015, 09:43
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
OK, I see
Forum:
Scripting
01-01-2015, 04:05
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
My code:
new rocket_entity = CreateEntityByName("tf_projectile_rocket");
new team=GetClientTeam(client);
SetEntProp(rocket_entity, Prop_Send, "m_hOwnerEntity", client, 21, 0);...
Forum:
Scripting
12-28-2014, 00:54
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
[Help] Spawning Rocket, Setting Entity Properties(TF2)
Reply With Quote Multi-Quote This Message #1
I need to spawn a rocket in tf2, I know the client(who fired it), position, angle and velocity.
the code I have so far:
new...
Forum:
Trash
12-27-2014, 10:35
Replies:
1
[Help] Spawning Rocket (TF2)
Views:
862
Posted By
Inhib
[Help] Spawning Rocket (TF2)
I need to spawn a rocket in tf2, I know the client(who fired it), position, angle and velocity.
the code I have so far:
new rocket_entity = CreateEntityByName("tf_projectile_rocket");...
Forum:
Scripting
12-20-2014, 00:18
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
Same error for the same line
Forum:
Scripting
12-18-2014, 09:10
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
new rocket_entity = CreateEntityByName("tf_projectile_rocket");
SetEntPropEnt(rocket_entity, Prop_Send, "m_hOwnerEntity", client);
//SetEntData(rocket_entity,...
Forum:
Scripting
12-18-2014, 08:05
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
Re: [Help] Spawning Rocket (TF2)
returned this on compile:
/groups/sourcemod/upload_tmp/text1YVjOK.sp(160) : error 017: undefined symbol "tf_projectile_rocket"
/groups/sourcemod/upload_tmp/text1YVjOK.sp(162) : error 017:...
Forum:
Scripting
12-18-2014, 02:35
Replies:
36
[Help] Spawning Rocket (TF2)
Views:
11,951
Posted By
Inhib
[Help] Spawning Rocket (TF2)
I want to spawn a rocket to fly in a direction and explode on contact, dealing damage.
already have location and velocity for the entity.
My code at this point does not spawn any entity:
new...
Forum:
Scripting
12-18-2014, 00:05
Replies:
8
[Help] TraceRay Functions (TF2)
Views:
1,714
Posted By
Inhib
Re: [Help] TraceRay Functions (TF2)
Console reports Invalid Handle
Forum:
Scripting
12-17-2014, 23:58
Replies:
8
[Help] TraceRay Functions (TF2)
Views:
1,714
Posted By
Inhib
[Help] TraceRay Functions (TF2)
new Float:endpoint[3]=TraceRayEnd(client); <---Line 1
public TraceRayEnd(client)
{
new Float:origin[3];
new Float:angles[3];
GetClientEyePosition(client, origin);...
Forum:
Scripting
12-17-2014, 22:38
Replies:
9
[Help] Tag Mismatch
Views:
1,616
Posted By
Inhib
Re: [Help] Tag Mismatch
When I used TraceRayFilter, I could not get the end point from
TR_GetEndPosition(Float:pos[3], INVALID_HANDLE);
It just pos[0], pos[1], pos[2] were all empty.
Showing results 1 to 25 of 78
Page 1 of 4
1
2
3
>
Last
»
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
21:31
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode