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

Help Here Coders


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 10-10-2012 , 13:14   Help Here Coders
Reply With Quote #1

When i type in /jbshop ingame the shop menu dont comes up?
but /cash works and donate in console
And when i write /jbshop i get this error in my server console
Code:
L 10/10/2012 - 16:22:56: Invalid CVAR pointer
L 10/10/2012 - 16:22:56: [AMXX] Displaying debug trace (plugin "DE5ndGsk.amxx")
L 10/10/2012 - 16:22:56: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/10/2012 - 16:22:56: [AMXX]    [0] DE5ndGsk.sma::Jbshop (line 179)
Can somebody help me i got the sma code attached

Last edited by ironskillz1; 12-16-2012 at 14:19.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
Old 10-10-2012, 13:24
Neeeeeeeeeel.-
This message has been deleted by Neeeeeeeeeel.-. Reason: sory xD thanks Bos93
Bos93
Veteran Member
Join Date: Jul 2010
Old 10-10-2012 , 13:40   Re: Help Here Coders
Reply With Quote #2

Quote:
Why do you make two posts?
omg,where is gKnucklesCost ???

Why is declared twice?
__________________

Last edited by Bos93; 10-10-2012 at 13:47.
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 10-10-2012 , 13:55   Re: Help Here Coders
Reply With Quote #3

Quote:
Originally Posted by Bos93 View Post
omg,where is gKnucklesCost ???

Why is declared twice?

can you fix it and post sma file
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
Old 10-10-2012, 13:58
Neeeeeeeeeel.-
This message has been deleted by Neeeeeeeeeel.-. Reason: asdadsaddsdasdasdlksadlksakjdaslkjdal shit
Bos93
Veteran Member
Join Date: Jul 2010
Old 10-10-2012 , 14:00   Re: Help Here Coders
Reply With Quote #4

PHP Code:
new gJbShopOngHeCostgHealthCostgSmokeCostgArmorCostgSpeedCostgTmpCostgDdCost
new gKatanaCostgKnucklescostgSpeedCvargHealthPointCvargArmorPointCvargSavePlayerPoints
new gMacCostgFootCostgVaultgFlashCostgDeagleCostgProCostgShieldCost
new gJbKnucklesgKnucklesCost 
--->

PHP Code:
new gJbShopOngHeCostgHealthCostgSmokeCostgArmorCostgSpeedCostgTmpCostgDdCost
new gKatanaCostgKnucklescostgSpeedCvargHealthPointCvargArmorPointCvargSavePlayerPoints
new gMacCostgFootCostgVaultgFlashCostgDeagleCostgProCostgShieldCost
new gJbKnuckles 
added:

PHP Code:
gKnucklesCost register_cvar"jb_Knuckles""500" 
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 10-10-2012 , 14:28   Re: Help Here Coders
Reply With Quote #5

Quote:
Originally Posted by Bos93 View Post
PHP Code:
new gJbShopOngHeCostgHealthCostgSmokeCostgArmorCostgSpeedCostgTmpCostgDdCost
new gKatanaCostgKnucklescostgSpeedCvargHealthPointCvargArmorPointCvargSavePlayerPoints
new gMacCostgFootCostgVaultgFlashCostgDeagleCostgProCostgShieldCost
new gJbKnucklesgKnucklesCost 
--->

PHP Code:
new gJbShopOngHeCostgHealthCostgSmokeCostgArmorCostgSpeedCostgTmpCostgDdCost
new gKatanaCostgKnucklescostgSpeedCvargHealthPointCvargArmorPointCvargSavePlayerPoints
new gMacCostgFootCostgVaultgFlashCostgDeagleCostgProCostgShieldCost
new gJbKnuckles 
added:

PHP Code:
gKnucklesCost register_cvar"jb_Knuckles""500" 

Dont works :s Please post the full sma code :p

Last edited by ironskillz1; 10-10-2012 at 14:30.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
Bos93
Veteran Member
Join Date: Jul 2010
Old 10-10-2012 , 14:30   Re: Help Here Coders
Reply With Quote #6

Show the code
__________________

Last edited by Bos93; 10-10-2012 at 14:30.
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Old 10-10-2012, 15:05
ironskillz1
This message has been deleted by ironskillz1.
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-10-2012 , 20:10   Re: Help Here Coders
Reply With Quote #7

  1. Always ask the author first.
  2. Always attach the file when the code is more than 50 lines
  3. You didn't change anything so obviously you will still have the same issue.
__________________
fysiks is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 10-11-2012 , 01:28   Re: Help Here Coders
Reply With Quote #8

Quote:
Originally Posted by fysiks View Post
  1. Always ask the author first.
  2. Always attach the file when the code is more than 50 lines
  3. You didn't change anything so obviously you will still have the same issue.

1. The author dont code anymore


Can you change it and attach it please i suck on coding
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
Bos93
Veteran Member
Join Date: Jul 2010
Old 10-11-2012 , 07:54   Re: Help Here Coders
Reply With Quote #9

Your code is not compiled. You did not test my fix,and why gKnucklesCost is declared twice?
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 10-11-2012 , 10:18   Re: Help Here Coders
Reply With Quote #10

Quote:
Originally Posted by Bos93 View Post
Your code is not compiled. You did not test my fix,and why gKnucklesCost is declared twice?

Okey all commands works now. but when someone join the first time the spawn with Proknife and when you buy khanjar you get pro knife :S

Last edited by ironskillz1; 12-16-2012 at 14:21.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
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 09:16.


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