Resolved ze_effect_messages

Unpaid Requests, Public Plugins
johnnysins2000
Veteran Member
Veteran Member
Pakistan
Posts: 672
Joined: 2 Years Ago
Location: Lahore
Has thanked: 11 times
Been thanked: 10 times
Age: 22
Contact:

ze_effect_messages

#1

Post by johnnysins2000 » 2 Years Ago

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
Nobody Is That Busy If They Make Time :roll:

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#2

Post by Raheem » 2 Years Ago

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.
You don't know? Learn and you will know.

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#3

Post by Mohamed Alaa » 2 Years Ago

Raheem wrote:
2 Years Ago
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 wanna cvar shows both master of survival & escape leader.
We will talk about next update on FB.
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

johnnysins2000
Veteran Member
Veteran Member
Pakistan
Posts: 672
Joined: 2 Years Ago
Location: Lahore
Has thanked: 11 times
Been thanked: 10 times
Age: 22
Contact:

#4

Post by johnnysins2000 » 2 Years Ago

Jack GamePlay wrote:
2 Years Ago
Raheem wrote:
2 Years Ago
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 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 :roll:

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#5

Post by Raheem » 2 Years Ago

-Simply Edit:

  1. public Show_Speed_Message(id)
  2. {
  3.     if (get_pcvar_num(Cvar_Rank_iMode) == 0) // Disabled
  4.         return
  5.    
  6.     if (get_pcvar_num(Cvar_Rank_iMode) == 1) // Leader Mode
  7.     {
  8.         Speed_Stats()
  9.         new iLeaderID; iLeaderID = g_iEscapeRank[RANK_FIRST]
  10.        
  11.         if (is_user_alive(iLeaderID) && !ze_is_user_zombie(iLeaderID) && g_iEscapePoints[iLeaderID] != 0)
  12.         {
  13.             new szLeader[32]
  14.             get_user_name(iLeaderID, szLeader, charsmax(szLeader))
  15.            
  16.             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)
  17.             ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szLeader)
  18.         }
  19.         else
  20.         {
  21.             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)
  22.             ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szNone)
  23.         }
  24.     }
  25.    
  26.     if (get_pcvar_num(Cvar_Rank_iMode) == 2) // Rank Mode
  27.     {
  28.         Speed_Stats()
  29.        
  30.         new szFirst[32], szSecond[32], szThird[32]
  31.         new iFirstID, iSecondID, iThirdID
  32.        
  33.         iFirstID = g_iEscapeRank[RANK_FIRST]
  34.         iSecondID = g_iEscapeRank[RANK_SECOND]
  35.         iThirdID = g_iEscapeRank[RANK_THIRD]
  36.        
  37.         if (is_user_alive(iFirstID) && !ze_is_user_zombie(iFirstID) && g_iEscapePoints[iFirstID] != 0)
  38.         {
  39.             get_user_name(iFirstID, szFirst, charsmax(szFirst))
  40.         }
  41.         else
  42.         {
  43.             szFirst = szNone
  44.         }
  45.        
  46.         if (is_user_alive(iSecondID) && !ze_is_user_zombie(iSecondID) && g_iEscapePoints[iSecondID] != 0)
  47.         {
  48.             get_user_name(iSecondID, szSecond, charsmax(szSecond))
  49.         }
  50.         else
  51.         {
  52.             szSecond = szNone
  53.         }
  54.        
  55.         if (is_user_alive(iThirdID) && !ze_is_user_zombie(iThirdID) && g_iEscapePoints[iThirdID] != 0)
  56.         {
  57.             get_user_name(iThirdID, szThird, charsmax(szThird))    
  58.         }
  59.         else
  60.         {
  61.             szThird = szNone
  62.         }
  63.        
  64.         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)
  65.         ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO", szFirst, szSecond, szThird)
  66.     }
  67. }

-To:

  1. public Show_Speed_Message(id)
  2. {
  3.     if (get_pcvar_num(Cvar_Rank_iMode) == 0) // Disabled
  4.         return
  5.    
  6.     if (get_pcvar_num(Cvar_Rank_iMode) == 1) // Leader Mode
  7.     {
  8.         Speed_Stats()
  9.         new iLeaderID; iLeaderID = g_iEscapeRank[RANK_FIRST]
  10.        
  11.         if (is_user_alive(iLeaderID) && !ze_is_user_zombie(iLeaderID) && g_iEscapePoints[iLeaderID] != 0)
  12.         {
  13.             new szLeader[32]
  14.             get_user_name(iLeaderID, szLeader, charsmax(szLeader))
  15.            
  16.             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)
  17.             ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szLeader)
  18.         }
  19.         else
  20.         {
  21.             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)
  22.             ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szNone)
  23.         }
  24.     }
  25.    
  26.     if (get_pcvar_num(Cvar_Rank_iMode) == 2) // Rank Mode
  27.     {
  28.         Speed_Stats()
  29.        
  30.         new szFirst[32], szSecond[32], szThird[32]
  31.         new iFirstID, iSecondID, iThirdID
  32.        
  33.         iFirstID = g_iEscapeRank[RANK_FIRST]
  34.         iSecondID = g_iEscapeRank[RANK_SECOND]
  35.         iThirdID = g_iEscapeRank[RANK_THIRD]
  36.        
  37.         if (is_user_alive(iFirstID) && !ze_is_user_zombie(iFirstID) && g_iEscapePoints[iFirstID] != 0)
  38.         {
  39.             get_user_name(iFirstID, szFirst, charsmax(szFirst))
  40.         }
  41.         else
  42.         {
  43.             szFirst = szNone
  44.         }
  45.        
  46.         if (is_user_alive(iSecondID) && !ze_is_user_zombie(iSecondID) && g_iEscapePoints[iSecondID] != 0)
  47.         {
  48.             get_user_name(iSecondID, szSecond, charsmax(szSecond))
  49.         }
  50.         else
  51.         {
  52.             szSecond = szNone
  53.         }
  54.        
  55.         if (is_user_alive(iThirdID) && !ze_is_user_zombie(iThirdID) && g_iEscapePoints[iThirdID] != 0)
  56.         {
  57.             get_user_name(iThirdID, szThird, charsmax(szThird))    
  58.         }
  59.         else
  60.         {
  61.             szThird = szNone
  62.         }
  63.        
  64.         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)
  65.         ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO", szFirst, szSecond, szThird)
  66.     }
  67.    
  68.     if (get_pcvar_num(Cvar_Rank_iMode) == 3)
  69.     {
  70.         Speed_Stats()
  71.        
  72.         new szFirst[32], szSecond[32], szThird[32]
  73.         new iFirstID, iSecondID, iThirdID
  74.        
  75.         iFirstID = g_iEscapeRank[RANK_FIRST]
  76.         iSecondID = g_iEscapeRank[RANK_SECOND]
  77.         iThirdID = g_iEscapeRank[RANK_THIRD]
  78.        
  79.         if (is_user_alive(iFirstID) && !ze_is_user_zombie(iFirstID) && g_iEscapePoints[iFirstID] != 0)
  80.         {
  81.             get_user_name(iFirstID, szFirst, charsmax(szFirst))
  82.         }
  83.         else
  84.         {
  85.             szFirst = szNone
  86.         }
  87.        
  88.         if (is_user_alive(iSecondID) && !ze_is_user_zombie(iSecondID) && g_iEscapePoints[iSecondID] != 0)
  89.         {
  90.             get_user_name(iSecondID, szSecond, charsmax(szSecond))
  91.         }
  92.         else
  93.         {
  94.             szSecond = szNone
  95.         }
  96.        
  97.         if (is_user_alive(iThirdID) && !ze_is_user_zombie(iThirdID) && g_iEscapePoints[iThirdID] != 0)
  98.         {
  99.             get_user_name(iThirdID, szThird, charsmax(szThird))    
  100.         }
  101.         else
  102.         {
  103.             szThird = szNone
  104.         }
  105.        
  106.         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)
  107.         ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO", szFirst, szSecond, szThird)
  108.        
  109.         new iLeaderID; iLeaderID = g_iEscapeRank[RANK_FIRST]
  110.        
  111.         if (is_user_alive(iLeaderID) && !ze_is_user_zombie(iLeaderID) && g_iEscapePoints[iLeaderID] != 0)
  112.         {
  113.             new szLeader[32]
  114.             get_user_name(iLeaderID, szLeader, charsmax(szLeader))
  115.            
  116.             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)
  117.             ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szLeader)
  118.         }
  119.         else
  120.         {
  121.             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)
  122.             ShowSyncHudMsg(id, g_iSpeedRank, "%L", LANG_PLAYER, "RANK_INFO_LEADER", szNone)
  123.         }
  124.     }
  125. }

-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.
You don't know? Learn and you will know.

johnnysins2000
Veteran Member
Veteran Member
Pakistan
Posts: 672
Joined: 2 Years Ago
Location: Lahore
Has thanked: 11 times
Been thanked: 10 times
Age: 22
Contact:

#6

Post by johnnysins2000 » 2 Years Ago

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 :roll:

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#7

Post by Raheem » 2 Years Ago

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 don't know? Learn and you will know.

johnnysins2000
Veteran Member
Veteran Member
Pakistan
Posts: 672
Joined: 2 Years Ago
Location: Lahore
Has thanked: 11 times
Been thanked: 10 times
Age: 22
Contact:

#8

Post by johnnysins2000 » 2 Years Ago

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
Nobody Is That Busy If They Make Time :roll:

johnnysins2000
Veteran Member
Veteran Member
Pakistan
Posts: 672
Joined: 2 Years Ago
Location: Lahore
Has thanked: 11 times
Been thanked: 10 times
Age: 22
Contact:

#9

Post by johnnysins2000 » 2 Years Ago

Bro This code is not working Which u gave me
Nobody Is That Busy If They Make Time :roll:

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#10

Post by Raheem » 2 Years Ago

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?
You don't know? Learn and you will know.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests