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

[ZP] Extra Item: Sawn-Off Shotgun v0.4.5


Post New Thread Reply   
 
Thread Tools Display Modes
Clear
Senior Member
Join Date: Feb 2009
Location: Lithuanian
Old 08-04-2009 , 02:01   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #11

ty for make my idea
can add shotgun shoot sounds and if not hard flying bullets (you see where bullets fly) sory bad english
__________________
Clear is offline
Send a message via Skype™ to Clear
sunx
Veteran Member
Join Date: Mar 2009
Location: Germany
Old 08-04-2009 , 02:34   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #12

Good Job Its realy n1 !
__________________

sunx is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 08-04-2009 , 16:41   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #13

Quote:
Originally Posted by Clear View Post
ty for make my idea
can add shotgun shoot sounds and if not hard flying bullets (you see where bullets fly) sory bad english
· shotgun shoot sounds: Impossible.
· you see where bullets fly: I don't have idea.

Quote:
Originally Posted by Exolent[jNr] View Post
Apparently they are the same thing.
I had just never heard of the sawn off.
Idem with "Sawed-Off"

Quote:
Originally Posted by sunx View Post
Good Job Its realy n1 !
Thanks dude.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Pach
Senior Member
Join Date: Feb 2009
Location: Russian Federation
Old 08-08-2009 , 14:35   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #14

L 08/09/2009 - 00:53:45: [FAKEMETA] Invalid entity
L 08/09/2009 - 00:53:45: [AMXX] Displaying debug trace (plugin "zp_extra_sawnoff.amxx")
L 08/09/2009 - 00:53:45: [AMXX] Run time error 10: native error (native "pev")
L 08/09/2009 - 00:53:45: [AMXX] [0] zp_extra_sawnoff.sma::fw_Touch (line 218 )

__________________
Sorry for my bad English.
Pach is offline
Send a message via ICQ to Pach Send a message via Skype™ to Pach
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 08-08-2009 , 14:48   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #15

Quote:
Originally Posted by Pach View Post
L 08/09/2009 - 00:53:45: [FAKEMETA] Invalid entity
L 08/09/2009 - 00:53:45: [AMXX] Displaying debug trace (plugin "zp_extra_sawnoff.amxx")
L 08/09/2009 - 00:53:45: [AMXX] Run time error 10: native error (native "pev")
L 08/09/2009 - 00:53:45: [AMXX] [0] zp_extra_sawnoff.sma::fw_Touch (line 218 )

Do you have enabled the fakemeta module on modules.ini?
__________________
"There is no knowledge, that is not power"
fezh is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-08-2009 , 18:58   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #16

Quote:
Originally Posted by fezh View Post
Do you have enabled the fakemeta module on modules.ini?
That's not the problem.
The problem is the code:

PHP Code:
public fw_Touch(entitytoucher)
{
    
// Entity is not valid
    
if(!pev_valid(entity))
        return 
FMRES_IGNORED;
        
    
// Get model, toucher classname, and entity classname
    
new model[33], toucherclass[33], entityclass[33]
    
pev(entitypev_modelmodelcharsmax(model))
    
pev(entitypev_classnameentityclasscharsmax(entityclass))
    
pev(toucherpev_classnametoucherclasscharsmax(toucherclass))
    
    if(!
equali(toucherclass"player") || !equali(entityclass"weaponbox"))
        return 
FMRES_IGNORED;
        
    if(
equali(modelsawnoff_model_w))
        if(
allowed_touch(toucher))
            
g_sawnoff_shotgun[toucher] = true;
    
    return 
FMRES_IGNORED;

Line 218:
PHP Code:
pev(toucherpev_classnametoucherclasscharsmax(toucherclass)) 
Should be:
PHP Code:
public fw_Touch(entitytoucher)
{
    
// Entity is not valid
    
if(!pev_valid(entity) || !pev_valid(toucher))
        return 
FMRES_IGNORED;
        
    
// Get model, toucher classname, and entity classname
    
new model[33], toucherclass[33], entityclass[33]
    
pev(entitypev_modelmodelcharsmax(model))
    
pev(entitypev_classnameentityclasscharsmax(entityclass))
    
pev(toucherpev_classnametoucherclasscharsmax(toucherclass))
    
    if(!
equali(toucherclass"player") || !equali(entityclass"weaponbox"))
        return 
FMRES_IGNORED;
        
    if(
equali(modelsawnoff_model_w))
        if(
allowed_touch(toucher))
            
g_sawnoff_shotgun[toucher] = true;
    
    return 
FMRES_IGNORED;

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Pach
Senior Member
Join Date: Feb 2009
Location: Russian Federation
Old 08-09-2009 , 02:42   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #17

Quote:
Originally Posted by Exolent[jNr] View Post
That's not the problem.
The problem is the code:

PHP Code:
public fw_Touch(entitytoucher)
{
    
// Entity is not valid
    
if(!pev_valid(entity))
        return 
FMRES_IGNORED;
        
    
// Get model, toucher classname, and entity classname
    
new model[33], toucherclass[33], entityclass[33]
    
pev(entitypev_modelmodelcharsmax(model))
    
pev(entitypev_classnameentityclasscharsmax(entityclass))
    
pev(toucherpev_classnametoucherclasscharsmax(toucherclass))
    
    if(!
equali(toucherclass"player") || !equali(entityclass"weaponbox"))
        return 
FMRES_IGNORED;
        
    if(
equali(modelsawnoff_model_w))
        if(
allowed_touch(toucher))
            
g_sawnoff_shotgun[toucher] = true;
    
    return 
FMRES_IGNORED;

Line 218:
PHP Code:
pev(toucherpev_classnametoucherclasscharsmax(toucherclass)) 
Should be:
PHP Code:
public fw_Touch(entitytoucher)
{
    
// Entity is not valid
    
if(!pev_valid(entity) || !pev_valid(toucher))
        return 
FMRES_IGNORED;
        
    
// Get model, toucher classname, and entity classname
    
new model[33], toucherclass[33], entityclass[33]
    
pev(entitypev_modelmodelcharsmax(model))
    
pev(entitypev_classnameentityclasscharsmax(entityclass))
    
pev(toucherpev_classnametoucherclasscharsmax(toucherclass))
    
    if(!
equali(toucherclass"player") || !equali(entityclass"weaponbox"))
        return 
FMRES_IGNORED;
        
    if(
equali(modelsawnoff_model_w))
        if(
allowed_touch(toucher))
            
g_sawnoff_shotgun[toucher] = true;
    
    return 
FMRES_IGNORED;

Thank you! I would test!
__________________
Sorry for my bad English.
Pach is offline
Send a message via ICQ to Pach Send a message via Skype™ to Pach
juancitoPlugins
BANNED
Join Date: Jul 2009
Old 08-09-2009 , 12:50   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #18

Is Excelent!
juancitoPlugins is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 08-09-2009 , 18:13   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #19

Updated Version 0.3: View Changelog
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Pach
Senior Member
Join Date: Feb 2009
Location: Russian Federation
Old 08-10-2009 , 12:17   Re: [ZP] Extra Item: Sawn-Off Shotgun v0.2
Reply With Quote #20

Quote:
Originally Posted by meTaLiCroSS View Post
Updated Version 0.3: View Changelog
PHP Code:
L 08/10/2009 18:51:14: [AMXXDisplaying debug trace (plugin "zp_extra_sawnoff.amxx")
L 08/10/2009 18:51:14: [AMXXRun time error 4index out of bounds 
L 08
/10/2009 18:51:14: [AMXX]    [0zp_extra_sawnoff.sma::fw_TakeDamage (line 247)
L 08/10/2009 18:51:14: [AMXXDisplaying debug trace (plugin "zp_extra_sawnoff.amxx")
L 08/10/2009 18:51:14: [AMXXRun time error 4index out of bounds 
L 08
/10/2009 18:51:15: [AMXX]    [0zp_extra_sawnoff.sma::fw_TakeDamage (line 247)
L 08/10/2009 18:51:15: [AMXXDisplaying debug trace (plugin "zp_extra_sawnoff.amxx")
L 08/10/2009 18:51:15: [AMXXRun time error 4index out of bounds 
L 08
/10/2009 18:51:15: [AMXX]    [0zp_extra_sawnoff.sma::fw_TakeDamage (line 247)
L 08/10/2009 18:52:09: [AMXXDisplaying debug trace (plugin "zp_extra_sawnoff.amxx")
L 08/10/2009 18:52:09: [AMXXRun time error 4index out of bounds 
L 08
/10/2009 18:52:09: [AMXX]    [0zp_extra_sawnoff.sma::allowed_knockback (line 296)
L 08/10/2009 18:52:09: [AMXX]    [1zp_extra_sawnoff.sma::fw_TraceAttack (line 258)
L 08/10/2009 18:53:46: [AMXXDisplaying debug trace (plugin "zp_extra_sawnoff.amxx")
L 08/10/2009 18:53:46: [AMXXRun time error 4index out of bounds 
L 08
/10/2009 18:53:46: [AMXX]    [0zp_extra_sawnoff.sma::fw_TakeDamage (line 247)
L 08/10/2009 18:53:46: [AMXXDisplaying debug trace (plugin "zp_extra_sawnoff.amxx")
L 08/10/2009 18:53:46: [AMXXRun time error 4index out of bounds 
L 08
/10/2009 18:53:46: [AMXX]    [0zp_extra_sawnoff.sma::fw_TakeDamage (line 247)
L 08/10/2009 18:53:47: [AMXXDisplaying debug trace (plugin "zp_extra_sawnoff.amxx"
__________________
Sorry for my bad English.
Pach is offline
Send a message via ICQ to Pach Send a message via Skype™ to Pach
Reply



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 00:42.


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