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

HP Shop


Post New Thread Reply   
 
Thread Tools Display Modes
Dream`
Junior Member
Join Date: Apr 2010
Old 05-08-2010 , 05:51   Re: HP Shop
Reply With Quote #21

Man try to add t flag to this pluggin :p
__________________
Dream` is offline
ServO
Senior Member
Join Date: Nov 2009
Location: Are you asking me out?
Old 05-08-2010 , 05:56   Re: HP Shop
Reply With Quote #22

I don't really get what you mean T_Flag?

Do you mean, so only Admins can use /hpshop ?
__________________
Zombie Dominance

To Do:
- Learn AMXx Script...

Last edited by ServO; 05-08-2010 at 05:59.
ServO is offline
Dream`
Junior Member
Join Date: Apr 2010
Old 05-08-2010 , 06:27   Re: HP Shop
Reply With Quote #23

Yes, Look i make Vip "name" password" "bit" "de"

I wanna to players who got the t flag can acess this shop if player dont have flag it needs to show message [HP SHOP] U Dont have access To Hp Shop
please make it

Got IT?
__________________
Dream` is offline
ServO
Senior Member
Join Date: Nov 2009
Location: Are you asking me out?
Old 05-08-2010 , 06:31   Re: HP Shop
Reply With Quote #24

Ahh, but I don't know how to add messages yett. Lol. But I think I know how to add admin access, do this:

Code:
    register_clcmd("say /HPShop", "HP_menu", ADMIN_SLAY);
__________________
Zombie Dominance

To Do:
- Learn AMXx Script...

Last edited by ServO; 05-08-2010 at 06:51.
ServO is offline
Dream`
Junior Member
Join Date: Apr 2010
Old 05-08-2010 , 06:38   Re: HP Shop
Reply With Quote #25

Try to make message :p And i found that code on other plugin nw im trying it :p
__________________
Dream` is offline
Dream`
Junior Member
Join Date: Apr 2010
Old 05-08-2010 , 06:44   Re: HP Shop
Reply With Quote #26

Aah Not Working BTW
__________________
Dream` is offline
ServO
Senior Member
Join Date: Nov 2009
Location: Are you asking me out?
Old 05-08-2010 , 06:51   Re: HP Shop
Reply With Quote #27

Quote:
Originally Posted by ServO View Post
Ahh, but I don't know how to add messages yett. Lol. But I think I know how to add admin access, do this:

Code:
    register_clcmd("say /HPShop", "HP_menu", ADMIN_SLAY);
Doesnt that work?

Try this then:

Code:
    register_clcmd("say /HPShop", "HP_menu", ADMIN_SLAY, "Only VIP  Members Can Use This Commando!");
__________________
Zombie Dominance

To Do:
- Learn AMXx Script...
ServO is offline
Dream`
Junior Member
Join Date: Apr 2010
Old 05-08-2010 , 06:56   Re: HP Shop
Reply With Quote #28

Still Not
__________________
Dream` is offline
ServO
Senior Member
Join Date: Nov 2009
Location: Are you asking me out?
Old 05-08-2010 , 07:28   Re: HP Shop
Reply With Quote #29

Then idk

Ask some who can script better then me
__________________
Zombie Dominance

To Do:
- Learn AMXx Script...
ServO is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 05-08-2010 , 08:47   Re: HP Shop
Reply With Quote #30

Quote:
Originally Posted by ServO View Post
2)
Code:
#define PLUGIN "HP Shop"
#define VERSION "1.0"
#define AUTHOR "Gudik"


new money
new health
new cost100 = 8000
new cost50 = 5000
new cost10 = 1500
new HPSHOP

public plugin_init() {
    register_plugin("PLUGIN", "VERSION", "AUTHOR");
No need for extra quotes. Can simply do register_plugin(PLUGIN, VERSION, AUTHOR).
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
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 19:30.


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