I want some scripts but I have no clue what am doing.
Basically I have seen some people have auto messages and I would like to have auto messages too. For example when I call for a medic I would like to set my own message to display in team chat along with my location. Another example I would like to have would be able to bind a key to say something on team chat. Oh and the other one is when I press C to drop the flag it will display a message along with my current location. So if anyone could give me the basic structure for that it would be greatly appreciated.
|
|
I hate to say that a lot of that doesn't help me. So far I am thinking it would be something like:
bind "Z" saveme But I don't know how to make its say something in teamchat, which would beside the saveme. But that still isn't quite what I want. I want it to send a message when Ichoose medic in the thign when i press Z (the one with armor and ammo) is that possible? Also where do I put them? In a autoexec.cfg? |
bind z "saveme;say_team Heal me!! [%h Health - %a Armor]"
bind c "dropflagcommand;say_team Flag dropped at %l" not sure what the cmd for dropflag is, but you should get the picture. |
Quote:
EDIT: Nevermind I thought I would try autoexec.cfg and it worked. |
Quote:
dropitems is the command...and you really need to add in %h / %a commands if you are going to use a flag toss bind. The health tells your team members weather or not your toss was successful. Quote:
|
Quote:
|
If your hp is negative in your flag comm bind, they know you didn't toss it, it just dropped where you died. If it's positive, you tossed successfully.
|
exactly
|
All times are GMT. The time now is 03:18 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.