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

Fixing colorchat


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
staNioN
Junior Member
Join Date: Jul 2013
Old 04-26-2017 , 18:13   Fixing colorchat
Reply With Quote #1

Hey everyone,
so while editing this plugin i added some console commands that will change the colorchat messages depending on what command i have it on. what i encountered is that instead of being able to switch between them and turn each one of them on/off, it started spamming every one of them even if they're not enabled.
the commands are (kz_uq_nfs, kz_uq_wayz, kz_uq_icevip, kz_uq_nfs_and_icevip, kz_uq_default_cc, kz_uq_default_cc_icevip, kz_uq_icevip_newstyle and also kz_uq_chatinfo(shows strafes,sync in chat message if its on, hides it if its off)
what i want can be worded like this:
each one of those commands above has 4 options:
if its enabled(kz_uq_xxx 1)+(kz_uq_chatinfo 1) -> shows chosen message
if its enabled(kz_uq_xxx 1)+(kz_uq_chatinfo 0) -> shows chosen message
if its disabled(kz_uq_xxx 0)+(kz_uq_chatinfo 1) -> shows chosen message
if its disabled(kz_uq_xxx 0)+(kz_uq_chatinfo 0) -> shows chosen message

i dont even know if this request is even possible lol, would appreciate the help!
Attached Files
File Type: sma Get Plugin or Get Source (uq_jumpstats_v2.49_v1.sma - 550 views - 441.4 KB)
staNioN 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 16:13.


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