AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Hud Message [Player] (https://forums.alliedmods.net/showthread.php?t=172371)

TheBadBoy 11-19-2011 14:39

[HELP] Hud Message [Player]
 
Hello, Coders..

I have a problem with my Plugin, after i move my crosshair on a player, i have his name and health. The Hud Message (Remove after 3secondes)
I want only, if i move my crosshair from the player, then remove the Hud Message (Not after 3 secondes)

PHP Code:

public player_status(id)
{
        static 
typeplayerCsTeams:teamname[32], health
        type 
read_data(1)
        
player read_data(2)
        switch(
type)
        {
                case(
1):
                {
                        
ClearSyncHud(idg_HudSync[1][_hudsync])
                }
                case(
2):
                {
                        
team cs_get_user_team(player)

                        if(
team != CS_TEAM_T)
                                return 
PLUGIN_HANDLED
                        health 
get_user_health(player)
                        
get_user_name(playernamecharsmax(name))

                        
set_hudmessage(25500, -1.0, -1.021.030.10.14)
                        
show_hudmessage(id"%L"LANG_SERVER"JBE_PRISONER_STATUS"namehealth)

                        if(
team != CS_TEAM_CT)
                                return 
PLUGIN_HANDLED
                        health 
get_user_health(player)
                        
get_user_name(playernamecharsmax(name))

                        
set_hudmessage(0191255, -1.0, -1.021.030.10.14)
                        
show_hudmessage(id"%L"LANG_SERVER"JBE_GUARD_STATUS"namehealth)

                }
        }
        
        return 
PLUGIN_HANDLED



Erox902 11-19-2011 15:10

Re: [HELP] Hud Message [Player]
 
Here's something that will help you:
PHP Code:

If you have a problem post in scripting help.
If 
you have a request post in request section.
Do 
NOT post in both

Seriously you have already been told.

---edit---

Actually you've been told multiple times.
So for Christ sake, stop creating multiple threads!

TheBadBoy 11-19-2011 15:18

Re: [HELP] Hud Message [Player]
 
I have a problem and i have posted it on Scripting Help
What's wrong?

TheBadBoy 11-19-2011 15:19

Re: [HELP] Hud Message [Player]
 
Why you won't help me

Erox902 11-19-2011 15:27

Re: [HELP] Hud Message [Player]
 
Quote:

Originally Posted by TheBadBoy (Post 1599278)
Why you won't help me

Why should I help you?
You obviously don't listen to me anyways :nono:, I've already told you to stop making threads in both scripting help and request section.
And so has even others already done before me.

But you keep ignoring us and keep breaking the rules.
So please give us all one good reason why anyone here should help you, and one reason why you shouldn't get your face brutally beaten with the banhammer a hundred times over? :evil:

TheBadBoy 11-19-2011 16:00

Re: [HELP] Hud Message [Player]
 
Really why you lose your time saying to people to Read Rules
If you are not a coder, Why you come on this section...
And I know, you never helped someone, you want just let know to people that this forum sucks.

We have only 1 sucker, and it's you

Erox902 11-19-2011 21:44

Re: [HELP] Hud Message [Player]
 
Quote:

Originally Posted by TheBadBoy (Post 1599305)
Really why you lose your time saying to people to Read Rules

I know you're already banned, but you'll probably just create a new account anyways and check this answer.
Since you obviously don't care about rules, so here goes.

It's cuz' all the rules on this site seems to be fair, and seems to be there for a valid reason.
If you just were to stop for a second and read them through, you would probably understand.

And yes I did try to help you ( if you just would have checked the other comments I left in your other threads, (yet another proof that you don't care 'bout what we tell you) ).
But anyhow, Why the hell should I even try helping you?
You don't listen to what I, or anyone else on this site says.

The forum would be a rather lame place if every single thread in it was created by you, about the same thing no less.
This section of the forum is about helping people, not here to obey your commands.

So please stop acting like a immature baby and people will probably be glad to help you.

And now I hope I only have to say this once more.
  • If you have a problem with your script, and need help, create a thread here.
  • If you request that someone will do this for you then go to the request section.
Do not create a new thread in both!


All times are GMT -4. The time now is 08:29.

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