Quote:
Originally Posted by zmd94
@ Dare.Devil, you can try it by yourself. Just use this code:
|
if I use those I get this following error which is why I removed this napalm 1.3 plugin
L 08/05/2014 - 21:12
2: [AMXX] Displaying debug trace (plugin "napalm_nades.amxx")
L 08/05/2014 - 21:12
2: [AMXX] Run time error 4: index out of bounds
L 08/05/2014 - 21:12
2: [AMXX] [0] 38966.attach::fw_SetModel (line 339)
here's the PHP.. line 339 is:
for(check_index = 0; check_index < sizeof(allow_map_prefix); check_index++)
{
PHP Code:
public plugin_precache()
{
new map_name[32], check_index
get_mapname(map_name, sizeof(map_name))
for(check_index = 0; check_index < sizeof(allow_map_prefix); check_index++)
{
if(equali(map_name, allow_map_prefix[check_index], strlen(allow_map_prefix[check_index])))
break
}