How can I fix it?
This works perfectly, when the map is hd_harlem.
But I change map to de_dust2, don't work. Code:
new allow_maps[][][] = { |
Re: How can I fix it?
new allow_maps[][][] = {
{ "hd_harlem", "Hidden City" }, { "de_dust2", "Dust2" } } Try: new allow_maps[][][] = { { "", "" }, { "hd_harlem", "Hidden City" }, { "de_dust2", "Dust2" } } Because the first line is 0 andyour first index is 1. Thats the problem i guess |
Re: How can I fix it?
Why your maps const is three dimensional ? It should be two.
@Jhob, what do you mean ? The loop starts from 0 and hd_harlem has already index 0 :) |
Re: How can I fix it?
Fast tested with Visual Studio (for C) and it worked properly.
You might check out the picture (view raw image) so you know what to change. Some numbers were set. I don't really know how to fix it properly for AMX Mod X that way (as you prepared the array), I might give you a wrong example. Quote:
|
Re: How can I fix it?
Quote:
Quote:
|
Re: How can I fix it?
PHP Code:
|
| All times are GMT -4. The time now is 17:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.