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 2
1
2
>
Showing results 1 to 25 of 39
Search took
0.01
seconds.
Search:
Posts Made By:
SimonTheOne
Forum:
Coding MM:S Plugins & SM Extensions
06-02-2011, 03:15
Replies:
72
NPC in CS:S
Views:
28,349
Posted By
SimonTheOne
Re: NPC in CS:S
Could this also be used to fix the fast zombies in HL2DM?
Forum:
Scripting
04-28-2011, 06:40
Replies:
2
replicate kill
Views:
1,286
Posted By
SimonTheOne
Re: replicate kill
Take a look at SDKhook's:
native SDKHooks_TakeDamage(entity, inflictor, attacker, Float:damage, damageType=DMG_GENERIC, weapon=-1, const Float:damageForce[3]=NULL_VECTOR, const...
Forum:
Scripting
04-25-2011, 05:21
Replies:
3
User messaging
Views:
868
Posted By
SimonTheOne
Re: User messaging
http://docs.sourcemod.net/api/index.php?fastload=show&id=115&
with this function you can send a chat message to all players.
there's also PrintToChat, wich is able to send a message to one client.
Forum:
Scripting
03-23-2011, 06:03
Replies:
15
Control who can see an attached particle
Views:
3,573
Posted By
SimonTheOne
Re: Control who can see an attached particle
Try parenting it to an info_target
Forum:
Scripting
03-02-2011, 06:37
Replies:
5
entity flag numbers
Views:
1,747
Posted By
SimonTheOne
Re: entity flag numbers
yep, thats what i meant with: "but i think you can also see the flags in hammer."
just couldn't remember how
Forum:
Scripting
02-28-2011, 12:41
Replies:
5
entity flag numbers
Views:
1,747
Posted By
SimonTheOne
Re: entity flag numbers
go to hammer, put in the flags, open the map in notepad, search up the entity u put the flags on and there you go.
but i think you can also see the flags in hammer.
Forum:
Scripting
02-27-2011, 04:34
Replies:
10
a metre
Views:
2,677
Posted By
SimonTheOne
Re: a metre
so is hl2dm distance:
GetVectorDistance(const Float:vec1[3], const Float:vec2[3], bool:squared=false) / (64 / 1.2)
or:
GetVectorDistance(const Float:vec1[3], const Float:vec2[3],...
Forum:
Scripting
02-26-2011, 01:09
Replies:
10
a metre
Views:
2,677
Posted By
SimonTheOne
Re: a metre
and hl2dm?
Forum:
Scripting
02-25-2011, 08:59
Replies:
10
a metre
Views:
2,677
Posted By
SimonTheOne
Re: a metre
thanks :)
Forum:
Scripting
02-25-2011, 08:34
Replies:
10
a metre
Views:
2,677
Posted By
SimonTheOne
a metre
native Float:GetVectorDistance(const Float:vec1[3], const Float:vec2[3], bool:squared=false);
how much is a metre?
or is there an other way to calculate how much metres clients are away from...
Forum:
Scripting
02-20-2011, 13:59
Replies:
0
Synched HUD messages.
Views:
757
Posted By
SimonTheOne
Synched HUD messages.
Hello there,
Ive been trying to find a good way to do this but so far ive failed, probably also because of my insufficient knowledge of HUD messages.
As far as i know this is right:
every...
Forum:
Scripting
12-31-2010, 03:11
Replies:
5
[solved] Values of User Messages
Views:
2,263
Posted By
SimonTheOne
Re: Values of User Messages?
how do i disassemble the server dll, i found lots of programs that say they can do it but not one that actually worked
Forum:
Scripting
12-29-2010, 11:49
Replies:
25
[ENTITY] Set Parent
Views:
14,544
Posted By
SimonTheOne
Re: [ENTITY] Set Parent
ow ye. if ur using SetParentAttachment, u dont have to teleport the entity to the player. It does that for you. SetParentAttachmentMaintainOffset doesn't
Forum:
Scripting
12-29-2010, 11:28
Replies:
25
[ENTITY] Set Parent
Views:
14,544
Posted By
SimonTheOne
Re: [ENTITY] Set Parent
Its better to parent the activator so you won't have to change the targetname.
like this:
SetVariantString("!activator");
AcceptEntityInput(iEnt, "SetParent", szClientNum);
Then for the head...
Forum:
Scripting
12-27-2010, 12:57
Replies:
12
Players
Views:
2,931
Posted By
SimonTheOne
Re: Players
new players = GetClientCount()
players = your playercount
Forum:
Scripting
11-02-2010, 14:11
Replies:
4
How to detect if a player is stuck in a prop_dynamic_override
Views:
1,540
Posted By
SimonTheOne
Re: How to detect if a player is stuck in a prop_dynamic_override
i think he means this one:
http://forums.alliedmods.net/showthread.php?t=141684&highlight=hook+stuck
Forum:
Scripting
10-22-2010, 01:06
Replies:
5
Player Death Animation Entity?
Views:
2,196
Posted By
SimonTheOne
Re: Player Death Animation Entity?
When a player dies a ragdoll gets spawned, you can get its index by using this:
new ragdoll = GetEntPropEnt(client, Prop_Send, "m_hRagdoll");
so all that's left is to make it invisible.
Forum:
Scripting
09-07-2010, 00:33
Replies:
4
Is there any event that can tell if a survivor is dead by falling from high place?
Views:
1,245
Posted By
SimonTheOne
Re: Is there any event that can tell if a survivor is dead by falling from high place
http://wiki.alliedmods.net/Left_4_Dead_2_Events#player_falldamage
i guess this should do
Forum:
Scripting
09-01-2010, 09:22
Replies:
4
SetParentAttachment - [FIXED]
Views:
5,529
Posted By
SimonTheOne
Re: SetParentAttachment - Bone position
dispatchkeyvalue(i_prop, "angles", "0 0 0");
or
new Float:Angles[3] = {0, 0, 0};
SetEntPropVector(i_prop, Prop_Send, m_vecAngles, Angles);
one of these should work i think
Forum:
Scripting
08-17-2010, 00:51
Replies:
7
HL2DM Specator
Views:
1,833
Posted By
SimonTheOne
Re: HL2DM Specator
there's a server in hl2dm that has the spectater team as a 3rd playing team, but that's impossible to make with sourcemod i think
Forum:
Scripting
08-06-2010, 15:18
Replies:
8
Trigger Entities
Views:
2,347
Posted By
SimonTheOne
Re: Trigger Entities
use this:
public OnMapStart()
{
HookEntityOutput("func_button", "OnPressed", Button_Pressed);
}
public Button_Pressed(const String:output[], caller, activator, Float:delay)
{
// do your...
Forum:
Scripting
08-04-2010, 15:35
Replies:
8
Make a Trace Ray ignore everything except an entity
Views:
4,313
Posted By
SimonTheOne
Re: Make a Trace Ray ignore everything except an entity
try this:
new Handle:Trace = TR_TraceRayFilterEx(TraceOrg, TraceAng, MASK_SOLID, RayType_Infinite, TraceFilter);
public bool:TraceFilter(entity, contentsMask, any:Ent)
{
if...
Forum:
Scripting
06-18-2010, 16:42
Replies:
13
Get Random Number With Desimal places
Views:
2,952
Posted By
SimonTheOne
Re: Get Random Number With Desimal places
decl String:buffer[3];
new Float:num = GetRandomFloat(1.0, 10.0);
FloatToString(num, buffer, 3);
this is how i would do it.
Forum:
Scripting
06-12-2010, 03:27
Replies:
0
setclientviewentity
Views:
1,069
Posted By
SimonTheOne
setclientviewentity
im trying to put the clients view to an info_target but its not working.
this is what i got:
public Output_AnimationDone(const String:output[], caller, activator, Float:delay)
{...
Forum:
Scripting
05-25-2010, 02:13
Replies:
4
Shitlist Kick
Views:
1,212
Posted By
SimonTheOne
Re: Shitlist Kick
use this
public SpawnEvent(Handle:event,const String:name[],bool:dontBroadcast)
{
new client_id = GetEventInt(event, "userid");
new client = GetClientOfUserId(client_id);
decl...
Showing results 1 to 25 of 39
Page 1 of 2
1
2
>
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
07:09
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode