Raised This Month: $ Target: $400
 0% 

error 033: array must be indexed(variable "g_fColor")


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 07-08-2023 , 08:26   error 033: array must be indexed(variable "g_fColor")
Reply With Quote #1

Hello
What I was trying to do
Trying to add some random color to the door
PHP Code:
#define bar_Random(%1) %1 == -1 ? g_fColor[random(MAX_COLORS)] : %1

set_pev(g_iEntBarrier,pev_rendercolor,bar_Random(g_eSettings[BARRIER_COLOR][0],g_eSettings[BARRIER_COLOR][1],g_eSettings[BARRIER_COLOR][2])); 
__________________

Last edited by amirwolf; 07-08-2023 at 09:13.
amirwolf is offline
 



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:45.


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