Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 197
Search took 0.01 seconds.
Search: Posts Made By: chu1720
Forum: Scripting 11-19-2010, 22:33
Replies: 17
Views: 3,640
Posted By chu1720
Re: How to freeze a common infected and witch?

For common infected, there is only entity id for them right?
I used:
for (new iEntity = MaxClients + 1; iEntity <= iMaxEntities; iEntity++)
{
if ((IsCommonInfected(iEntity) ||...
Forum: Scripting 11-19-2010, 21:00
Replies: 17
Views: 3,640
Posted By chu1720
Re: How to freeze a common infected and witch?

I have tried SetEntityMoveType(entity, MOVETYPE_NONE), but i cant freeze them.
Just nothing happen...
Forum: Scripting 11-19-2010, 02:34
Replies: 17
Views: 3,640
Posted By chu1720
Re: How to freeze a common infected and witch?

I means if the common infected is frozen, i still want it to be destructible. That means i can still shot it to die.
Forum: Scripting 11-18-2010, 23:06
Replies: 17
Views: 3,640
Posted By chu1720
Re: How to freeze a common infected and witch?

SetEntityMoveType(entity, MOVETYPE_NONE)
I heard that using this one will make them undestructible. Is that true?
Forum: Plugins 11-18-2010, 10:23
Replies: 43
Views: 53,881
Posted By chu1720
Re: L4D2 Super Survival

Is there any upadate?
Forum: Scripting 11-18-2010, 07:01
Replies: 17
Views: 3,640
Posted By chu1720
Re: How to freeze a common infected and witch?

"m_flLaggedMovementValue" can not be used for non-player...
L 11/18/2010 - 19:41:02: [SM] Native "SetEntPropFloat" reported: Property "m_flLaggedMovementValue" not found (entity 166/infected)
L...
Forum: Scripting 11-16-2010, 05:17
Replies: 5
Views: 2,157
Posted By chu1720
Re: A question about the event "infected_hurt"!

So, there is no way we can get the self-specified weapon name when a common infected/witch get hurt?
Forum: Scripting 11-16-2010, 05:16
Replies: 17
Views: 3,640
Posted By chu1720
Re: How to freeze a common infected and witch?

oh! I dont know that "m_flLaggedMovementValue" can be used in common infected and witch!
Thx~
Forum: Scripting 11-15-2010, 05:22
Replies: 17
Views: 3,640
Posted By chu1720
Re: How to freeze a common infected and witch?

If we cant freeze them, can i just slow them down?
Forum: Scripting 11-13-2010, 22:12
Replies: 5
Views: 2,157
Posted By chu1720
Re: A question about the event "infected_hurt"!

But the weapon name is specified by me. (using createentitybyneme("point?_hurt"), e.g. weapon name "fire_ball")
I would like to do something on the common infected or witch after it being hurt by...
Forum: Scripting 11-13-2010, 14:14
Replies: 4
Views: 2,101
Posted By chu1720
Forum: Scripting 11-13-2010, 14:03
Replies: 4
Views: 2,101
Posted By chu1720
Re: Question about CreateDataTimer!

I am using CreateDataTimer, it should close the handle whenever the timer dies right?
Forum: Scripting 11-13-2010, 13:40
Replies: 4
Views: 2,101
Posted By chu1720
Question about CreateDataTimer!

Below is my CreateDataTimer code:

new Handle:h=CreateDataPack();
CreateDataTimer(0.1, UpdateFireBall, h, TIMER_REPEAT);
WritePackCell(h, Client);
WritePackCell(h, ent);
...
Forum: Scripting 11-13-2010, 13:04
Replies: 17
Views: 3,640
Posted By chu1720
How to freeze a common infected and witch?

I am writing a rpg plugin that have a skill called Ice Ball, that skill can freeze any infected.
I can freeze a playable class of infected, but i can freeze a common infected or witch, anyone can...
Forum: Scripting 11-13-2010, 13:02
Replies: 5
Views: 2,157
Posted By chu1720
Re: A question about the event "infected_hurt"!

Anyone knows how to get the weapon name when a infected being hurt?
Forum: Scripting 11-09-2010, 23:55
Replies: 5
Views: 2,157
Posted By chu1720
A question about the event "infected_hurt"!

In the event "player_hurt", there is a signature "weapo" that tells us the weapon name the attacker use.
But for the event "infected_hurt", there is no such signature. Is there any events can be...
Forum: Scripting 11-06-2010, 13:50
Replies: 6
Views: 6,206
Posted By chu1720
Re: How to declare a dynamic arrays in sourcemod?

i am writing a l4d2 rpg plugins, there is a skill called chained lighting.
when a player excuate the skill, the nearby common infected will be damaged. After 1s, the damaged common infected will...
Forum: Scripting 11-06-2010, 13:23
Replies: 6
Views: 6,206
Posted By chu1720
Re: How to declare a dynamic arrays in sourcemod?

does it have a more detailed tutorial? It is very difficult to understand...
Forum: Scripting 11-06-2010, 12:45
Replies: 6
Views: 6,206
Posted By chu1720
How to declare a dynamic arrays in sourcemod?

I know how to use dynamic arrays in C++, but i dont know the syntax to use them in sourcemod.
Is there any tutorial of how i can use dynamic array?
Forum: Scripting 11-02-2010, 06:06
Replies: 0
Views: 580
Posted By chu1720
Is there any way to increse/decrease a entity's size?

for example a prop_physics_override entity.
Forum: Scripting 10-31-2010, 21:24
Replies: 28
Views: 5,582
Posted By chu1720
Re: How to permanently display some rpg info during the game!

Sorry for that-.-
I have tried to set (x=0, y=0) as you mentioned, but nothing is showing. Also, there is no error messages.
Forum: Scripting 10-31-2010, 12:34
Replies: 28
Views: 5,582
Posted By chu1720
Forum: Scripting 10-31-2010, 12:13
Replies: 6
Views: 1,333
Posted By chu1720
Forum: Scripting 10-31-2010, 04:44
Replies: 6
Views: 1,333
Posted By chu1720
Re: Is there any events we can hook to know that a player changes his name?

If i want to stop player changing their name, i just use return plugin_handle?
Forum: Scripting 10-31-2010, 04:32
Replies: 28
Views: 5,582
Posted By chu1720
Re: How to permanently display some rpg info during the game!

I will try it later, thz for your help~~~
Showing results 1 to 25 of 197

 
Forum Jump

All times are GMT -4. The time now is 17:43.


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