AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Give glow render to the last live TT (https://forums.alliedmods.net/showthread.php?t=347070)

boddah 04-01-2024 00:26

[HELP] Give glow render to the last live TT
 
Hello, again, could you help me with a plugin that gives glow render to the last living tt, as well as the glow of the zombie plague nemesis. It seems to me that it is render, could someone help me, thank you

Napoleon_be 04-12-2024 07:54

Re: [HELP] Give glow render to the last live TT
 
Since you're here asking for scripting help, i'll just sum up what you can do in order to achieve what you want.

1) Here's how you check for the last terrorist alive:

PHP Code:

new players[32], count;
get_players(playerscount"ae""TERRORIST"); // Or "CT"

if (count == 1)
{
    
// players[0] - last alive terrorist



2) Here's an example on how you can set players glowing: https://forums.alliedmods.net/showpo...43&postcount=2

3) zp include should have a stock function that should look like this:
PHP Code:

zp_get_user_nemesis() 

Check if this is true, if it is, glow the player.


All times are GMT -4. The time now is 22:04.

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