Raised This Month: $ Target: $400
 0% 

[HELP] Give glow render to the last live TT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
boddah
New Member
Join Date: Mar 2024
Old 04-01-2024 , 00:26   [HELP] Give glow render to the last live TT
Reply With Quote #1

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
boddah is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-12-2024 , 07:54   Re: [HELP] Give glow render to the last live TT
Reply With Quote #2

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.
__________________

Last edited by Napoleon_be; 04-12-2024 at 07:55.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
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 07:47.


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