AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to make CS execute a comand right after u die (https://forums.alliedmods.net/showthread.php?t=62632)

Impaler 10-31-2007 23:01

How to make CS execute a comand right after u die
 
Hi I wanna some help, I wanna script to only me, when I die playing cs, i want automatically to say "/hp" and "/hits" so i could see the stats and dont need to input commands all the time. its also handy using respawn plugin when u cant do it because u get respawned right after u die. thnx

[ --<-@ ] Black Rose 11-01-2007 10:38

Re: How to make CS execute a comand right after u die
 
alias w10 "wait;wait;wait;wait;wait;wait;wait;wait;wait ;wait"
alias commands "say_team /hp;w10;w10;say_team /hits"

bind t commands

Impaler 11-01-2007 12:12

Re: How to make CS execute a comand right after u die
 
nice , thnx, but where exactly should i put this?

and do i need to bind it to a certain key or what? i wanna to say it automatically when i die:)

[ --<-@ ] Black Rose 11-01-2007 13:38

Re: How to make CS execute a comand right after u die
 
Do you want to do this on all servers or just yours?

This is binded to a key, you could put each of those lines into the console or any client sided config file.

It's not fully automatically but it's easy to make and use.

Impaler 11-02-2007 12:16

Re: How to make CS execute a comand right after u die
 
i just want it on my server but please note that it's not a public server, i'm playing cs:cz and i'm not creating servers, just a game :)


All times are GMT -4. The time now is 01:12.

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