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

HP Shop


Post New Thread Reply   
 
Thread Tools Display Modes
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 05-10-2010 , 03:13   Re: HP Shop
Reply With Quote #51

why u define
PHP Code:
#define PLUGIN "HP Shop"
#define VERSION "1.0"
#define AUTHOR "Gudik" 
Your not even using that. ur using
PHP Code:
register_plugin("HP Shop""1.1""Gudik"); 
__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave is offline
ServO
Senior Member
Join Date: Nov 2009
Location: Are you asking me out?
Old 05-10-2010 , 04:35   Re: HP Shop
Reply With Quote #52

I've allready told him

But he hasn't modfiyed it yett.
__________________
Zombie Dominance

To Do:
- Learn AMXx Script...
ServO is offline
Gudik
Junior Member
Join Date: Aug 2008
Old 05-10-2010 , 12:01   Re: HP Shop
Reply With Quote #53

#51-52 i have changed it
- I just waiting to i mabye add something else, to i upload again
Gudik is offline
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 05-11-2010 , 00:35   Re: HP Shop
Reply With Quote #54

hm ok. I just fixed urs yesterday and added cvar for prices and changed alot of things u want me to post codes?
__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave is offline
Gudik
Junior Member
Join Date: Aug 2008
Old 05-11-2010 , 02:08   Re: HP Shop
Reply With Quote #55

#54, sure if you wanna type what it does too
- I interrested in learning, not copy pasting, i can that
Gudik is offline
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 06-30-2010 , 14:10   Re: HP Shop
Reply With Quote #56

You dont need
PHP Code:
#include <amxmisc> 
Atleast register some cvars so people could edit the prices atleast ( I wont do it, dont be lazy )
Also you should make your code less messy/sloppy try fixing it in amxx studio by pushing ctrl+i
And lastly, also change all the Code Tags to the PHP tags that i'm listing below they work better

Code:
register_cvar ("amx_HPShop", "1");
-->
PHP Code:
HPSHOP register_cvar ("amx_HPShop""1"); 
//////////////////////////////////////////////
Code:
 HPSHOP = get_cvar_num("amx_HPShop");
 if (HPSHOP = 1) {
-->
PHP Code:
if (get_pcvar_num(HPSHOP) == 1) { 
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-30-2010 , 14:56   Re: HP Shop
Reply With Quote #57

Quote:
Originally Posted by infek View Post
PHP Code:
if (get_pcvar_num(HPSHOP) == 1) { 
PHP Code:
if(get_pcvar_num(HPSHOP){ 
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 06-30-2010 , 18:01   Re: HP Shop
Reply With Quote #58

Quote:
Originally Posted by drekes View Post
PHP Code:
if(get_pcvar_num(HPSHOP){ 
He's free to do whichever he wants as they make no actual difference on performance. The former is good for readability.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-30-2010 , 20:04   Re: HP Shop
Reply With Quote #59

i even have a mistake there. it's
PHP Code:
if(get_pcvar_num(HPSHOP)){ 
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-01-2010 , 08:16   Re: HP Shop
Reply With Quote #60

Redundant, unapproved.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 23:47.


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