ze_effect_messages
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
ze_effect_messages
I wanted To Request The ZE DEV TEAM
That in their next update or if they can do it now to show both huds
[Master Of Survival] Hud here on the left side and [Escape Leader] Hud here on the right side
I Hope u understand what i am trying to say
That in their next update or if they can do it now to show both huds
[Master Of Survival] Hud here on the left side and [Escape Leader] Hud here on the right side
I Hope u understand what i am trying to say
Nobody Is That Busy If They Make Time
Can you explain more? Just try make photo with paint of how you need it. Anyway it will be simple just by edit the X , Y co-ordinates but give more details.
He who fails to plan is planning to fail
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
He wanna cvar shows both master of survival & escape leader.
We will talk about next update on FB.
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
Jack GamePlay wrote: ↑7 years agoHe wanna cvar shows both master of survival & escape leader.
We will talk about next update on FB.
Yes Exactly As Jack Has Said
I will Be waiting Guyz For This Plugin
Nobody Is That Busy If They Make Time
-Simply Edit:
-To:
-And now to enable the two messages set the cvar to 3. So the cvar should be:
Now the two modes will appear to you. But this not a good idea.
- public Show_Speed_Message(id)
- {
- if (get_pcvar_num(Cvar_Rank_iMode) == 0) // Disabled
- return
- if (get_pcvar_num(Cvar_Rank_iMode) == 1) // Leader Mode
- {
- Speed_Stats()
- new iLeaderID; iLeaderID = g_iEscapeRank[RANK_FIRST]
- if (is_user_alive(iLeaderID) && !ze_is_user_zombie(iLeaderID) && g_iEscapePoints[iLeaderID] != 0)
- {
- new szLeader[32]
- get_user_name(iLeaderID, szLeader, charsmax(szLeader))
- set_hudmessage(get_pcvar_num(Cvar_Rank_iRed), get_pcvar_num(Cvar_Rank_iGreen), get_pcvar_num(Cvar_Rank_iBlue), 0.015, 0.18, 0, 0.2, 0.4, 0.09, 0.09)
- ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szLeader)
- }
- else
- {
- set_hudmessage(get_pcvar_num(Cvar_Rank_iRed), get_pcvar_num(Cvar_Rank_iGreen), get_pcvar_num(Cvar_Rank_iBlue), 0.015, 0.18, 0, 0.2, 0.4, 0.09, 0.09)
- ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szNone)
- }
- }
- if (get_pcvar_num(Cvar_Rank_iMode) == 2) // Rank Mode
- {
- Speed_Stats()
- new szFirst[32], szSecond[32], szThird[32]
- new iFirstID, iSecondID, iThirdID
- iFirstID = g_iEscapeRank[RANK_FIRST]
- iSecondID = g_iEscapeRank[RANK_SECOND]
- iThirdID = g_iEscapeRank[RANK_THIRD]
- if (is_user_alive(iFirstID) && !ze_is_user_zombie(iFirstID) && g_iEscapePoints[iFirstID] != 0)
- {
- get_user_name(iFirstID, szFirst, charsmax(szFirst))
- }
- else
- {
- szFirst = szNone
- }
- if (is_user_alive(iSecondID) && !ze_is_user_zombie(iSecondID) && g_iEscapePoints[iSecondID] != 0)
- {
- get_user_name(iSecondID, szSecond, charsmax(szSecond))
- }
- else
- {
- szSecond = szNone
- }
- if (is_user_alive(iThirdID) && !ze_is_user_zombie(iThirdID) && g_iEscapePoints[iThirdID] != 0)
- {
- get_user_name(iThirdID, szThird, charsmax(szThird))
- }
- else
- {
- szThird = szNone
- }
- set_hudmessage(get_pcvar_num(Cvar_Rank_iRed), get_pcvar_num(Cvar_Rank_iGreen), get_pcvar_num(Cvar_Rank_iBlue), 0.015, 0.18, 0, 0.2, 0.4, 0.09, 0.09)
- ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO", szFirst, szSecond, szThird)
- }
- }
-To:
- public Show_Speed_Message(id)
- {
- if (get_pcvar_num(Cvar_Rank_iMode) == 0) // Disabled
- return
- if (get_pcvar_num(Cvar_Rank_iMode) == 1) // Leader Mode
- {
- Speed_Stats()
- new iLeaderID; iLeaderID = g_iEscapeRank[RANK_FIRST]
- if (is_user_alive(iLeaderID) && !ze_is_user_zombie(iLeaderID) && g_iEscapePoints[iLeaderID] != 0)
- {
- new szLeader[32]
- get_user_name(iLeaderID, szLeader, charsmax(szLeader))
- set_hudmessage(get_pcvar_num(Cvar_Rank_iRed), get_pcvar_num(Cvar_Rank_iGreen), get_pcvar_num(Cvar_Rank_iBlue), 0.015, 0.18, 0, 0.2, 0.4, 0.09, 0.09)
- ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szLeader)
- }
- else
- {
- set_hudmessage(get_pcvar_num(Cvar_Rank_iRed), get_pcvar_num(Cvar_Rank_iGreen), get_pcvar_num(Cvar_Rank_iBlue), 0.015, 0.18, 0, 0.2, 0.4, 0.09, 0.09)
- ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szNone)
- }
- }
- if (get_pcvar_num(Cvar_Rank_iMode) == 2) // Rank Mode
- {
- Speed_Stats()
- new szFirst[32], szSecond[32], szThird[32]
- new iFirstID, iSecondID, iThirdID
- iFirstID = g_iEscapeRank[RANK_FIRST]
- iSecondID = g_iEscapeRank[RANK_SECOND]
- iThirdID = g_iEscapeRank[RANK_THIRD]
- if (is_user_alive(iFirstID) && !ze_is_user_zombie(iFirstID) && g_iEscapePoints[iFirstID] != 0)
- {
- get_user_name(iFirstID, szFirst, charsmax(szFirst))
- }
- else
- {
- szFirst = szNone
- }
- if (is_user_alive(iSecondID) && !ze_is_user_zombie(iSecondID) && g_iEscapePoints[iSecondID] != 0)
- {
- get_user_name(iSecondID, szSecond, charsmax(szSecond))
- }
- else
- {
- szSecond = szNone
- }
- if (is_user_alive(iThirdID) && !ze_is_user_zombie(iThirdID) && g_iEscapePoints[iThirdID] != 0)
- {
- get_user_name(iThirdID, szThird, charsmax(szThird))
- }
- else
- {
- szThird = szNone
- }
- set_hudmessage(get_pcvar_num(Cvar_Rank_iRed), get_pcvar_num(Cvar_Rank_iGreen), get_pcvar_num(Cvar_Rank_iBlue), 0.015, 0.18, 0, 0.2, 0.4, 0.09, 0.09)
- ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO", szFirst, szSecond, szThird)
- }
- if (get_pcvar_num(Cvar_Rank_iMode) == 3)
- {
- Speed_Stats()
- new szFirst[32], szSecond[32], szThird[32]
- new iFirstID, iSecondID, iThirdID
- iFirstID = g_iEscapeRank[RANK_FIRST]
- iSecondID = g_iEscapeRank[RANK_SECOND]
- iThirdID = g_iEscapeRank[RANK_THIRD]
- if (is_user_alive(iFirstID) && !ze_is_user_zombie(iFirstID) && g_iEscapePoints[iFirstID] != 0)
- {
- get_user_name(iFirstID, szFirst, charsmax(szFirst))
- }
- else
- {
- szFirst = szNone
- }
- if (is_user_alive(iSecondID) && !ze_is_user_zombie(iSecondID) && g_iEscapePoints[iSecondID] != 0)
- {
- get_user_name(iSecondID, szSecond, charsmax(szSecond))
- }
- else
- {
- szSecond = szNone
- }
- if (is_user_alive(iThirdID) && !ze_is_user_zombie(iThirdID) && g_iEscapePoints[iThirdID] != 0)
- {
- get_user_name(iThirdID, szThird, charsmax(szThird))
- }
- else
- {
- szThird = szNone
- }
- set_hudmessage(get_pcvar_num(Cvar_Rank_iRed), get_pcvar_num(Cvar_Rank_iGreen), get_pcvar_num(Cvar_Rank_iBlue), 0.015, 0.40, 0, 0.2, 0.4, 0.09, 0.09)
- ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO", szFirst, szSecond, szThird)
- new iLeaderID; iLeaderID = g_iEscapeRank[RANK_FIRST]
- if (is_user_alive(iLeaderID) && !ze_is_user_zombie(iLeaderID) && g_iEscapePoints[iLeaderID] != 0)
- {
- new szLeader[32]
- get_user_name(iLeaderID, szLeader, charsmax(szLeader))
- set_hudmessage(get_pcvar_num(Cvar_Rank_iRed), get_pcvar_num(Cvar_Rank_iGreen), get_pcvar_num(Cvar_Rank_iBlue), 0.015, 0.18, 0, 0.2, 0.4, 0.09, 0.09)
- ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szLeader)
- }
- else
- {
- set_hudmessage(get_pcvar_num(Cvar_Rank_iRed), get_pcvar_num(Cvar_Rank_iGreen), get_pcvar_num(Cvar_Rank_iBlue), 0.015, 0.18, 0, 0.2, 0.4, 0.09, 0.09)
- ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szNone)
- }
- }
- }
-And now to enable the two messages set the cvar to 3. So the cvar should be:
ze_speed_rank_mode 3
Now the two modes will appear to you. But this not a good idea.
He who fails to plan is planning to fail
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
Ok bro we will see how it looks if this is not an good idea i will just remove it
Nobody Is That Busy If They Make Time
Yes, As i think that 1 message of them is only enough if you need to show leader only ok. If you need to show leader + the other two ok use the master of survival not need the 2 at same time, This may cause much flood.
You can change the X,Y in the messages to make it Right or Left you are free.
You can change the X,Y in the messages to make it Right or Left you are free.
He who fails to plan is planning to fail
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
U know What Bro ?
I have Better Idea
In Some Maps I will show Master Of Survival Hud And In Some Escape Leader Hud
Or Maybe U could Do Something Like The One Who Is Escape Leader
Should Have a Hud above Health Class Escape Coins
Like This
[ESCAPE LEADER]
Health :1000 | Class :Human | Escape Coins :0
I have Better Idea
In Some Maps I will show Master Of Survival Hud And In Some Escape Leader Hud
Or Maybe U could Do Something Like The One Who Is Escape Leader
Should Have a Hud above Health Class Escape Coins
Like This
[ESCAPE LEADER]
Health :1000 | Class :Human | Escape Coins :0
Nobody Is That Busy If They Make Time
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
Bro This code is not working Which u gave me
Nobody Is That Busy If They Make Time
You mean to be like:
Health: 1000 | Class: Escape Leader | Escape Coins :0
Yeah this will be nice idea also i'll try to insert it in the next update.
The method i told you works but you need to change the X,Y only so it be like what you need. It give errors?
Health: 1000 | Class: Escape Leader | Escape Coins :0
Yeah this will be nice idea also i'll try to insert it in the next update.
The method i told you works but you need to change the X,Y only so it be like what you need. It give errors?
He who fails to plan is planning to fail
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
No it does not give errors anyway leave this check out what i posted in the new ideas section ...
Nobody Is That Busy If They Make Time
[mention]Raheem[/mention] what is co ordinates ? X,Y i wanna do this to on my server
[Escape Leader]
[Master of Survival]
like this under it
[Escape Leader]
[Master of Survival]
like this under it
You can't show them the two at same time... Also you can detect the X,Y bro yourself.
He who fails to plan is planning to fail
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
u made a cvar 3 to show both master of survival and escape leader !
I think i have an idea which will make both huds good ! Example
EL= ESCAPE LEADER !
[Master Of Survival]
[EL] Johnny
[1st] Player 1
[2nd] Player 2
[3rd] Player 3
OR second idea for hud style !
If the escape leader is on 3rd position or second position or first position then the hud should be like this
[MASTER OF SURVIVAL]
[1ST] Johnny -----> Escape Leader
[2ND] Player 1
[3RD] Player 2
Nobody Is That Busy If They Make Time
[mention]Raheem[/mention] What's this ?
edit this photo -_- i cant use this bb code..
edit this photo -_- i cant use this bb code..
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
Yes so we can do it Raheem said we can't show both at same time.
Anything can be done but i was say with the cvars exist for now you won't be able to show the two at same time. Also it's stuppid idea to show the two messages at same time for this ask jack he will tell you how to do...
He who fails to plan is planning to fail
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
And what about the idea I posted :p that seems better of someone wants to huds to be together
Nobody Is That Busy If They Make Time
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
Thank you for giving this idea.johnnysins2000 wrote: ↑6 years ago u made a cvar 3 to show both master of survival and escape leader !
I think i have an idea which will make both huds good ! Example
EL= ESCAPE LEADER !
[Master Of Survival]
[EL] Johnny
[1st] Player 1
[2nd] Player 2
[3rd] Player 3
OR second idea for hud style !
If the escape leader is on 3rd position or second position or first position then the hud should be like this
[MASTER OF SURVIVAL]
[1ST] Johnny -----> Escape Leader
[2ND] Player 1
[3RD] Player 2
It'll be done in my next server. :V :V
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute
Sign in
Who is online
Users browsing this forum: No registered users and 1 guest