Array must be Indexed error!
Code:
select_string (id,"SAVE","userskillsfireball","authid",authid,buffer) new userskillsfireball[32] userskillsfireball = str_to_num(buffer) if(!is_user_connected(entid) && is_user_alive(id)) { if((userskillsfireball[entid] >= fireballskill[0] && userskillsfireball[entid] <= fireballskill[1])) Thats the part of the code where i get the "Userskillsfireball is an array and must be indexed Error 033" Error. How do i index an array? Edit: Um for somereason when i paste it its all messed up :s I hope that won't hinder anyone solving my problem |
Re: Array must be Indexed error!
userskillsfireball = str_to_num(buffer)
--> userskillsfireball[entid] = str_to_num(buffer) |
Re: Array must be Indexed error!
OMG THANKS! SO OBVIOUS!!! HOW COULD I NOT SEE IT!! :D!!
Im going to go try it out right now, thanks man :) |
| All times are GMT -4. The time now is 22:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.