Raised This Month: $ Target: $400
 0% 

Array must be indexed...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 12-23-2019 , 09:51   Array must be indexed...
Reply With Quote #1

Code:
PHP Code:
public HudHPColor(Float:a, &Float:b, &Float:c)
{
    static 
r[3], g[3], b[3]
    
get_pcvar_string(g_msg_colorsr2)
    
    
strbreak(rg9b2)
    
str_to_float(r)
    
str_to_float(g)
    
str_to_float(b)

Error:
PHP Code:
plugin.sma(49 -- 50) : error 033: array must be indexed (variable "r")
plugin.sma(50 -- 51) : error 033: array must be indexed (variable "g")
plugin.sma(51 -- 52) : error 033: array must be indexed (variable "b")
plugin.sma(51 -- 52) : fatal error 107too many error messages on one line 
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
 


Thread Tools
Display Modes

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 02:59.


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