Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Extra Item: Golden Ak - 47 v1.1 Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
olari9
Senior Member
Join Date: May 2009
Old 05-11-2009 , 12:33   Re: [ZP] Extra Item: Golden Ak - 47 v1.1 Fix
Reply With Quote #1

I think you should own your own server for showing your modds for other ppl.Idea on that weapon shall be 1 upgrade if you tipe text /silentak then it puts a silencer on your golden ak and it would be more fun
olari9 is offline
blade_izzat
New Member
Join Date: Jun 2010
Old 06-19-2010 , 19:10   Re: [ZP] Extra Item: Golden Ak - 47 v1.1 Fix
Reply With Quote #2

Everytime I start new game with this plugin, my counter-strike crash . Then I try uninstall it and poof! no crash
blade_izzat is offline
PitrasCz
Junior Member
Join Date: Jul 2013
Old 07-15-2013 , 09:45   Re: [ZP] Extra Item: Golden Ak - 47 v1.1 Fix
Reply With Quote #3

Hey, you do not know how to add this plugin your own sound? thanks
PitrasCz is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-04-2009 , 18:20   Re: [ZP] Extra Item: Golden Ak - 47 v0.02
Reply With Quote #4

alan_el_more, No. He is correct.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 05-04-2009 , 18:31   Re: [ZP] Extra Item: Golden Ak - 47 v0.02
Reply With Quote #5

Quote:
Originally Posted by YamiKaitou View Post
alan_el_more, No. He is correct.
why?
i read this tut: https://forums.alliedmods.net/showthread.php?t=91207
__________________
alan_el_more is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-04-2009 , 18:35   Re: [ZP] Extra Item: Golden Ak - 47 v0.02
Reply With Quote #6

Quote:
Originally Posted by alan_el_more View Post
Both work.

The difference is that yours make a redundant operation. It saves the value of the final damage in the variable damage
__________________
joaquimandrade is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-04-2009 , 18:34   Re: [ZP] Extra Item: Golden Ak - 47 v0.02
Reply With Quote #7

Actually you can do it but it should be : SetHamParamFloat(4, ( damage *= dmg ) )

but there is no need to update 'damage' since the new value will be passed using SetHamParamFloat. So, he's right to use directly damage* dmg.
Arkshine is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-04-2009 , 18:34   Re: [ZP] Extra Item: Golden Ak - 47 v0.02
Reply With Quote #8

Because the *= operation is for assigning a value. Using the * operator is enough. Plus, I believe your method would pass true (or 1) to the function and not the actual value
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
AlejandroSk
BANNED
Join Date: Nov 2008
Location: Aqui, en mi casa. Karma:
Old 05-04-2009 , 18:57   Re: [ZP] Extra Item: Golden Ak - 47 v0.02
Reply With Quote #9

Can someone help me whit this?
Code:
L 05/04/2009 - 18:54:16: Invalid player id 0
L 05/04/2009 - 18:54:16: [AMXX] Displaying debug trace (plugin "zp_extra_goldenak.amxx")
L 05/04/2009 - 18:54:16: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 05/04/2009 - 18:54:16: [AMXX]    [0] zp_extra_goldena.sma::fw_TakeDamage (line
AlejandroSk is offline
Send a message via MSN to AlejandroSk
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 05-04-2009 , 19:06   Re: [ZP] Extra Item: Golden Ak - 47 v0.02
Reply With Quote #10

Quote:
Originally Posted by AlejandroSk View Post
Can someone help me whit this?
Code:
L 05/04/2009 - 18:54:16: Invalid player id 0
L 05/04/2009 - 18:54:16: [AMXX] Displaying debug trace (plugin "zp_extra_goldenak.amxx")
L 05/04/2009 - 18:54:16: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 05/04/2009 - 18:54:16: [AMXX]    [0] zp_extra_goldena.sma::fw_TakeDamage (line
Check if the attacker is a player.

EDIT:
Oh, arkshine, you answered first.
__________________
IneedHelp is offline
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 15:25.


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