Raised This Month: $12 Target: $400
 3% 

Subplugin Submission [ZP] Extra Item : Pack of grenades 1.4


Post New Thread Reply   
 
Thread Tools Display Modes
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 08-06-2014 , 22:13   Re: [ZP] Extra Item : Pack of grenades 1.4
Reply With Quote #21

@ Dare.Devil, you can try it by yourself. Just use this code:
zmd94 is offline
Dare.Devil
Member
Join Date: May 2014
Old 08-07-2014 , 01:57   Re: [ZP] Extra Item : Pack of grenades 1.4
Reply With Quote #22

Quote:
Originally Posted by zmd94 View Post
@ 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:122: [AMXX] Displaying debug trace (plugin "napalm_nades.amxx")
L 08/05/2014 - 21:122: [AMXX] Run time error 4: index out of bounds
L 08/05/2014 - 21:122: [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_namesizeof(map_name))
    
    for(
check_index 0check_index sizeof(allow_map_prefix); check_index++)
    {
        if(
equali(map_nameallow_map_prefix[check_index], strlen(allow_map_prefix[check_index])))
            break
    } 
Dare.Devil is offline
Reply


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 08:04.


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