Error: Array must be indexed
Can someone please look at this code and see if you can see anything wrong? I get this error:
Error: Array must be indexed (variable "-unknown-") on line 31 Code:
22 public bombpickup() { |
Re: Error: Array must be indexed
You can't compare strings that way. Use:
Code:
if(equal(weapons[j], "weapon_c4")) |
Re: Error: Array must be indexed
Thanks
|
| All times are GMT -4. The time now is 05:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.