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

[EDIT] Make SHOP with ammo packs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bellka .
Member
Join Date: Apr 2016
Location: Home
Old 05-03-2016 , 18:27   [EDIT] Make SHOP with ammo packs
Reply With Quote #1

is it possible to make this shop with ammo pack like ZP
Attached Files
File Type: sma Get Plugin or Get Source (bb_Shopma.sma - 431 views - 9.3 KB)

Last edited by Bellka .; 05-05-2016 at 18:44. Reason: i forgot to Attach the plugin :p
Bellka . is offline
Send a message via MSN to Bellka .
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-03-2016 , 18:56   Re: [EDIT] Make SHOP whit ammo packs
Reply With Quote #2

PHP Code:
new iPoints[33
PHP Code:
if(iPoints[id] >= YOUR_ITEM_PRICE)
{
     
// code
     
iPoints[id] -= YOUR_ITEM_PRICE
}
else
{
     
// code

__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Bellka .
Member
Join Date: Apr 2016
Location: Home
Old 05-03-2016 , 19:05   Re: [EDIT] Make SHOP whit ammo packs
Reply With Quote #3

how can i save the points and see how many points i have .
- can you make it whit ammo pack like ZP that will be great
thanks :')
Bellka . is offline
Send a message via MSN to Bellka .
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-03-2016 , 19:08   Re: [EDIT] Make SHOP whit ammo packs
Reply With Quote #4

Search for nVault tutorial by Bugsy
and for see your points, add:

plugin_init ->
PHP Code:
register_clcmd("say /points","ShowPoints"
PHP Code:
public ShowPoints(id)
{
    
client_print(id,print_chat,"[AMXX]: You have %d points",iPoints[id]) // %d for numbers and %s for names)
    
return PLUGIN_HANDLED // Remove the /points from the chat

__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 05-03-2016 at 19:08.
EFFx is offline
Bellka .
Member
Join Date: Apr 2016
Location: Home
Old 05-03-2016 , 19:14   Re: [EDIT] Make SHOP whit ammo packs
Reply With Quote #5

Quote:
Originally Posted by Bellka . View Post
- can you make it whit ammo pack like ZP that will be great
if you cant . thank you very much

Last edited by Bellka .; 05-03-2016 at 19:16.
Bellka . is offline
Send a message via MSN to Bellka .
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-03-2016 , 19:18   Re: [EDIT] Make SHOP whit ammo packs
Reply With Quote #6

I will do not ALL YOUR REQUESTS
You need to learn how do that, when you need a scripting help will post all here? Inst only me that will not help you with that. Learn for stop post useless plug-ins for we make.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Bellka .
Member
Join Date: Apr 2016
Location: Home
Old 05-03-2016 , 19:29   Re: [EDIT] Make SHOP whit ammo packs
Reply With Quote #7

:p Ok thanks
Bellka . is offline
Send a message via MSN to Bellka .
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 05-04-2016 , 04:43   Re: [EDIT] Make SHOP whit ammo packs
Reply With Quote #8

Quote:
Originally Posted by Bellka . View Post
can you make it whit ammo pack like ZP that will be great
thanks :')
Just extract the ammo packs code from Zp . You need to modify alot of things. remove classes etc etc.

Last edited by tousif; 05-04-2016 at 04:43.
tousif is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 05-04-2016 , 05:38   Re: [EDIT] Make SHOP whit ammo packs
Reply With Quote #9

Quote:
Originally Posted by EFFx View Post
I will do not ALL YOUR REQUESTS
You need to learn how do that, when you need a scripting help will post all here? Inst only me that will not help you with that. Learn for stop post useless plug-ins for we make.
This is the request forum, not the scripting help forum. He is not required to know how to script and therefore you should stop providing code solutions.
klippy is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-04-2016 , 15:13   Re: [EDIT] Make SHOP whit ammo packs
Reply With Quote #10

Quote:
Originally Posted by KliPPy View Post
This is the request forum, not the scripting help forum. He is not required to know how to script and therefore you should stop providing code solutions.
Nice reply, you helped him, hahhha sftu
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx 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 05:25.


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