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

Dynamic hud sprite


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Infamanious
Senior Member
Join Date: Dec 2005
Old 05-17-2022 , 00:09   Dynamic hud sprite
Reply With Quote #1

Looking for this plugin: https://streamable.com/0zrom0
alternate mirror : https://vimeo.com/710638088

cant find it anywhere. Used all available search options and even looked at adminmod/amxmod old plugins for something similar.

Last edited by Infamanious; 05-17-2022 at 00:24.
Infamanious is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-17-2022 , 08:26   Re: Dynamic hud sprite
Reply With Quote #2

Example on how to change the slots color. Untested on CS/CZ.
Code:
/*  * slots_color.sma  *  * Copyright 2021 SPiNX <Changes the slots/HUD color differently each time command is passed>  *  * This program is free software; you can redistribute it and/or modify  * it under the terms of the GNU General Public License as published by  * the Free Software Foundation; either version 2 of the License, or  * (at your option) any later version.  *  * This program is distributed in the hope that it will be useful,  * but WITHOUT ANY WARRANTY; without even the implied warranty of  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  * GNU General Public License for more details.  *  * You should have received a copy of the GNU General Public License  * along with this program; if not, write to the Free Software  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,  * MA 02110-1301, USA.  *  *  */ #include amxmodx #define iRcolor random_num(0,255) public plugin_init()register_plugin("OF:RAINBOW SLOTS", "1.0", ".sρiηX҉."); public client_command(id) if(!is_user_bot(id))     @color_slots(id) @color_slots(id,{Float,_}:...) if(is_user_connected(id)) {     emessage_begin(MSG_ONE_UNRELIABLE, get_user_msgid("HudColor"), _, id)     ewrite_byte(iRcolor)     ewrite_byte(iRcolor)     ewrite_byte(iRcolor)     emessage_end() }
__________________
DJEarthQuake is offline
Infamanious
Senior Member
Join Date: Dec 2005
Old 05-17-2022 , 13:18   Re: Dynamic hud sprite
Reply With Quote #3

Interesting....I've been looking around for how this is done and your code snippet looks promising. Thanks
Infamanious is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-19-2022 , 07:21   Re: Dynamic hud sprite
Reply With Quote #4

It is ok to continue to PM me I just do not accept money.
__________________
DJEarthQuake is offline
Old 05-19-2022, 22:08
Infamanious
This message has been deleted by Infamanious.
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 04:43.


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