AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   how make different speed tank (https://forums.alliedmods.net/showthread.php?t=96425)

lovemf 07-05-2009 02:32

how make different speed tank
 
sorry my bad english

I want make two tank and them speed is different

i try wait 1 tank spawned

and change crav z_tank_speed 800 spawn another ,but all tanks speed will change.


thanks.

lovemf 07-05-2009 03:16

Re: how make different speed tank
 
lol another question.

how let tank don't fire?

lovemf 07-05-2009 13:21

Re: how make different speed tank
 
Code:

SetEntProp(TankId,Prop_Send,"m_iMaxHealth",25000);
 SetEntProp(TankId,Prop_Send,"m_iHealth",25000);
 SetEntPropFloat(TankId, Prop_Data, "m_flLaggedMovementValue", 1.5);

but how let tank don't fire? and where can i get Property name?

exvel 07-05-2009 14:10

Re: how make different speed tank
 
Quote:

Originally Posted by lovemf (Post 864993)
but how let tank don't fire?

I believe you need sourcemod v1.3.0 for this so you could block IN_ATTACK and IN_ATTACK2 buttons. Use OnPlayerRunCmd. You can read about it in FAQ (question #5).

lovemf 07-05-2009 15:42

Re: how make different speed tank
 
Quote:

Originally Posted by exvel (Post 865041)
I believe you need sourcemod v1.3.0 for this so you could block IN_ATTACK and IN_ATTACK2 buttons. Use OnPlayerRunCmd. You can read about it in FAQ (question #5).


thanks,but i want when tank spawned,when player fire the tank,tank will not fire. look like tank in water everytime.

Dragonshadow 07-05-2009 17:42

Re: how make different speed tank
 
Yeah He wants it so the tank will never ignite :)

lovemf 07-12-2009 15:27

Re: how make different speed tank
 
who can help me?


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

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