Raised This Month: $51 Target: $400
 12% 

Help / Support Show player he is infected


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 04-10-2023 , 04:08   Show player he is infected
Reply With Quote #1

Hi, does someone know how can i make an print_chat message for a player who is randomly infected before the infection has even started?

Im trying this in event_round_start but seems its not working, maybe im pretty close to what im doing?
PHP Code:
if (g_firstzombie[id])
    
client_print_color(idprint_chat"^4[BIOSCAN] ^1You are infected!"
HowToRuski is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 04-17-2023 , 04:08   Re: Show player he is infected
Reply With Quote #2

which version of ZP are you using?
4.3? 5.0?
__________________
My plugin:
Celena Luna is offline
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 04-22-2023 , 01:46   Re: Show player he is infected
Reply With Quote #3

Quote:
Originally Posted by Celena Luna View Post
which version of ZP are you using?
4.3? 5.0?
4.3
HowToRuski is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 04-23-2023 , 22:16   Re: Show player he is infected
Reply With Quote #4

Quote:
Originally Posted by HowToRuski View Post
4.3
  1. Find make_a_zombie (line 5104 if was not modifined)
  2. Find if (mode == <Your mode you want to show the text>)
  3. Find zombieme
  4. Put your client_print code above the zombieme
__________________
My plugin:

Last edited by Celena Luna; 04-24-2023 at 01:02.
Celena Luna is offline
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 04-28-2023 , 10:37   Re: Show player he is infected
Reply With Quote #5

Quote:
Originally Posted by Celena Luna View Post
  1. Find make_a_zombie (line 5104 if was not modifined)
  2. Find if (mode == <Your mode you want to show the text>)
  3. Find zombieme
  4. Put your client_print code above the zombieme
You got my idea wrong, i was talking about when the round begins, the person WHO WILL BE infected, is shown a reminder...

Last edited by HowToRuski; 04-28-2023 at 10:37.
HowToRuski is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 04-30-2023 , 06:22   Re: Show player he is infected
Reply With Quote #6

Quote:
Originally Posted by HowToRuski View Post
You got my idea wrong, i was talking about when the round begins, the person WHO WILL BE infected, is shown a reminder...
oh then you have to change a lot actually
at default, the Zombie selection only happened after the delay then turn that player into zombie right away
__________________
My plugin:
Celena Luna is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:20.


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