AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Help / Support Show player he is infected (https://forums.alliedmods.net/showthread.php?t=342426)

HowToRuski 04-10-2023 04:08

Show player he is infected
 
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!"


Celena Luna 04-17-2023 04:08

Re: Show player he is infected
 
which version of ZP are you using?
4.3? 5.0?

HowToRuski 04-22-2023 01:46

Re: Show player he is infected
 
Quote:

Originally Posted by Celena Luna (Post 2802908)
which version of ZP are you using?
4.3? 5.0?

4.3

Celena Luna 04-23-2023 22:16

Re: Show player he is infected
 
Quote:

Originally Posted by HowToRuski (Post 2803205)
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

HowToRuski 04-28-2023 10:37

Re: Show player he is infected
 
Quote:

Originally Posted by Celena Luna (Post 2803286)
  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...

Celena Luna 04-30-2023 06:22

Re: Show player he is infected
 
Quote:

Originally Posted by HowToRuski (Post 2803543)
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


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

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