Last Seen Player
Hello, and good evening to all, hope your watching the SuperBowl /Go COLTS!
Anyway: I need help on Part of my plugin, This first half is going to relate on: /lastseen which will in chat(ADVANCED DEFINITION: CTSAY) display a message, leave the message space blank if you will. But this chat command should tell you the last player you saw was and there HP. If you will please produce this code for me. I thank anyone who helps me, and help's me out with my problem. Your help will be engraved(if you will) Into the code and post, onced released. Code:
#include <amxmodx> |
Re: Last Seen Player
Your register_plugin was done wrong :lol:.
Add quotes around your parameters or replace them with PLUGIN, VERSION, and AUTHOR. Code:
#include <amxmodx>EDIT: Errrm, left something out when I originally posted. |
Re: Last Seen Player
Ok, I shall PM you.
Read. |
Re: Last Seen Player
Lord Destros, you're method won't work. With this you have to actually aim at them in order to "see" them. When in reality you can see them without aiming at them. Just use is_in_viewcone() in a player loop.
|
Re: Last Seen Player
Quote:
1. When you use the command you probably want to see the person you just shot remaining HP. Not the person you last saw (which may be an ally or simply a person you don't care about). 2. I'm not sure if your method would work if there are 2 people in your view. 3. Gaben. Adding a cvar may not be bad however........ |
Re: Last Seen Player
Quote:
|
Re: Last Seen Player
Or, you could just take the closest one.
|
| All times are GMT -4. The time now is 00:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.