Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 46
Search took 0.01 seconds.
Search: Posts Made By: Gugie
Forum: Scripting 12-25-2013, 09:01
Replies: 7
Views: 1,482
Posted By Gugie
Re: output Float

Thank you! That works great >_<
Forum: Scripting 12-24-2013, 23:09
Replies: 7
Views: 1,482
Posted By Gugie
[SOLVED] output Float

Well, i found a couple of threads about how output string, but how i can output float? int? bool?

For example.

SomeCommand(client)
{
new Float:fl1 = 0.0, Float:fl2 = 0.0, Float:fl3 = 0.0;...
Forum: Scripting 12-15-2013, 20:23
Replies: 11
Views: 3,506
Posted By Gugie
Re: MOVETYPE_NONE without spreading

Oh, my bad, that works, but that's a full freeze player with aim, but i need freeze only movement.
Forum: Scripting 12-15-2013, 08:50
Replies: 11
Views: 3,506
Posted By Gugie
Re: MOVETYPE_NONE without spreading

But this doesn't stop SetEntDataVector(client, offset_velocity_base, vector) or TeleportEntity(client, NULL_VECTOR, NULL_VECTOR, vector). =(
Forum: Scripting 12-10-2013, 09:54
Replies: 11
Views: 3,506
Posted By Gugie
Re: MOVETYPE_NONE without spreading

Maybe there are a way to stop all player moves before freeze and then freeze?
Forum: Scripting 12-09-2013, 09:19
Replies: 11
Views: 3,506
Posted By Gugie
Re: MOVETYPE_NONE without spreading

that doesn't freeze player (at least it doesn't work for me). MOVETYPE_NONE+FL_FROZEN also doesn't help =(

I think the problem that i push player and then freeze. So player is like in moving. But...
Forum: Scripting 12-09-2013, 04:36
Replies: 11
Views: 3,506
Posted By Gugie
Re: MOVETYPE_NONE without spreading

Sorry, i was too quickly when decided that this works. Well if i use m_vecVelocity, then there are no bullet spreading, but only for me. So my bullets move throw players for me and they are just...
Forum: Scripting 11-27-2013, 06:38
Replies: 18
Views: 3,900
Posted By Gugie
Re: [SOLVED] rescue hostage

Oh, sorry, i was so happy that forgot xD

#include <sourcemod>
#include <sdktools>

new Handle:g_hSDK_Touch = INVALID_HANDLE;

public OnPluginStart()
{
HookEvent("hostage_follows",...
Forum: Scripting 11-26-2013, 13:47
Replies: 18
Views: 3,900
Posted By Gugie
Re: rescue hostage

Oh, god, Bimbo1 and bl4nk. Thank you very much!
Forum: Scripting 11-25-2013, 13:18
Replies: 18
Views: 3,900
Posted By Gugie
Re: rescue hostage

GsiX create a bot for that will be even worse than teleport player xD

bl4nk i have to touch hostage. I know that if player touch hostage at rescue zone then they will rescued. (like teleport...
Forum: Scripting 11-25-2013, 05:34
Replies: 18
Views: 3,900
Posted By Gugie
Re: rescue hostage

There are no way to touch hostage but using player?
Forum: Scripting 11-23-2013, 13:16
Replies: 18
Views: 3,900
Posted By Gugie
Re: rescue hostage

Well, that works, but it's rly bad way since i teleport player xD

public Action:HostageFollows(Handle:event, const String:name[], bool:dontBroadcast)
{
new client =...
Forum: Scripting 11-23-2013, 11:41
Replies: 18
Views: 3,900
Posted By Gugie
Re: rescue hostage

Ow, ic. And how i can launch trigger "touch"?
Forum: Scripting 11-23-2013, 10:29
Replies: 18
Views: 3,900
Posted By Gugie
Re: rescue hostage

well i can find ct base or just make array for every map with this ct rescue zone. It's not a problem. In my third example i tried to teleport hostage and make hostage's leader, but it didn't work....
Forum: Scripting 11-23-2013, 06:53
Replies: 18
Views: 3,900
Posted By Gugie
[SOLVED] rescue hostage

I'm trying to rescue hostage when u talk with him. So i tried to teleport hostage in ct buy zone, but hostage didn't rescue and just stayed at ct buy zone.

public...
Forum: Scripting 11-19-2013, 04:54
Replies: 8
Views: 2,612
Posted By Gugie
Forum: Scripting 11-18-2013, 07:06
Replies: 8
Views: 2,612
Posted By Gugie
Re: env_smokestack on client body

primary, granade0 ... grenade3, defuser and c4 a bit tilted and higher than body =(
I tried both SetParentAttachment and SetParentAttachmentMaintainOffset =(
http://i42.tinypic.com/mmvfxg.jpg
Forum: Scripting 11-18-2013, 04:53
Replies: 8
Views: 2,612
Posted By Gugie
Re: env_smokestack on client body

beacon using TE_SetupBeamRingPoint, but it doesn't follow player. And even if create timer and update it, it will looks much worse than env_smokestack =(
Forum: Scripting 11-18-2013, 03:23
Replies: 8
Views: 2,612
Posted By Gugie
Re: env_smokestack on client body

Well basically it's a ring at player body
http://i41.tinypic.com/ief33c.jpg

And when i move aim, this ring moves with aim =(
http://i43.tinypic.com/j0fyjc.jpg

I don't know another ways to...
Forum: Scripting 11-17-2013, 19:32
Replies: 8
Views: 2,612
Posted By Gugie
[SOLVED] env_smokestack on client body

Well, i made a effect on client with code below:


new entity = CreateEntityByName("env_smokestack");
DispatchKeyValue(entity, "BaseSpread", "25");
DispatchKeyValue(entity, "SpreadSpeed",...
Forum: Scripting 11-12-2013, 10:52
Replies: 11
Views: 3,506
Posted By Gugie
Forum: Scripting 11-11-2013, 13:21
Replies: 11
Views: 3,506
Posted By Gugie
MOVETYPE_NONE without spreading

Well, i use command to set player movetype to MOVETYPE_NONE. If player didn't move, then all fine. But if he had move before i freezed him, then he get bullet spreading =( I tried to use flags...
Forum: Scripting 10-29-2013, 08:25
Replies: 6
Views: 1,232
Posted By Gugie
Re: Full Player Invisibility

public OnPostThinkPost(client)
{
SetEntProp(client, Prop_Send, "m_iPrimaryAddon", 0);
}

solved. :)
Forum: Scripting 10-29-2013, 06:22
Replies: 6
Views: 1,232
Posted By Gugie
Re: Full Player Invisibility

Well, if i use it, then all bots invisible but not me haha)
Forum: Scripting 10-29-2013, 04:42
Replies: 6
Views: 1,232
Posted By Gugie
Re: Full Player Invisibility

Hm, if i use it just on weapon, that doesn't help. The situation same like on screenshot.
If i use it on player, it helps, i'm totally invisible, but i can't move also =(
Showing results 1 to 25 of 46

 
Forum Jump

All times are GMT -4. The time now is 23:05.


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