Raised This Month: $ Target: $400
 0% 

[HELP] - DrShop (Add buy lives and remove LJ).


Post New Thread Reply   
 
Thread Tools Display Modes
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-08-2014 , 11:53   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #11

Cvars are the same. Just calculate them in money isntead of points.
Attached Files
File Type: sma Get Plugin or Get Source (Deathrun_Shop (3).sma - 325 views - 29.6 KB)
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Lisandro_Oviedoo
Member
Join Date: Aug 2012
Location: Venezuela
Old 07-09-2014 , 13:44   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #12

Quote:
Originally Posted by Flick3rR View Post
Cvars are the same. Just calculate them in money isntead of points.
All right, only 3 things ..

1) When I buy a product in the store, and I take the money. When buying an item remains the same money; should be subtracted when the item price.

Can you fix that? Please.


2) How do I disable the article "Long Jump"?


3) Could you add a new item to the store?

Item would buy an extra life. When players buy a life in the store and they die, they can be revived within 5 seconds. (This article would not purchase limit).

I hope you can help me in those 3 things, thanks friend.

Last edited by Lisandro_Oviedoo; 07-09-2014 at 13:45.
Lisandro_Oviedoo is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 07-09-2014 , 16:38   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #13

Req 1 :
Fixed, Try !

Req 2 :
You need to edit ( DeathrunShopLang.txt )
Attached Files
File Type: sma Get Plugin or Get Source (deathrun_shop.sma - 28 views - 29.9 KB)
Eagle07 is offline
Old 07-09-2014, 16:44
Eagle07
This message has been deleted by Eagle07.
Lisandro_Oviedoo
Member
Join Date: Aug 2012
Location: Venezuela
Old 07-09-2014 , 20:49   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #14

Quote:
Originally Posted by Eagle07 View Post
Req 1 :
Fixed, Try !

Req 2 :
You need to edit ( DeathrunShopLang.txt )
The plugin contains errors.
The sma too.

Last edited by Lisandro_Oviedoo; 07-09-2014 at 20:49.
Lisandro_Oviedoo is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-09-2014 , 21:17   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #15

Here. Added some stuff to these "lifes" in the shop, also edited the lang file. You can transalte it yourself.
Attached Files
File Type: txt DeathrunShopLang.txt (2.7 KB, 116 views)
File Type: sma Get Plugin or Get Source (Deathrun_Shop.sma - 566 views - 29.2 KB)
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Lisandro_Oviedoo
Member
Join Date: Aug 2012
Location: Venezuela
Old 07-10-2014 , 10:04   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #16

Quote:
Originally Posted by Flick3rR View Post
Here. Added some stuff to these "lifes" in the shop, also edited the lang file. You can transalte it yourself.
Excellent, the plugin works fine! PD: Translated it a part of the plugin and edited a few things. I added a sound for when you buy an extra life; the same sound as when you buy a Granada.

Questions: 1) Where do I edit the seconds before being revived with an extra life?

2) What is it for the "Long Jump"? What is your advantage or disadvantage?

2.1) How I can edit it and how can I disable it?

- Dude, can you help me in this other plugin? > https://forums.alliedmods.net/showthread.php?t=243395

Last edited by Lisandro_Oviedoo; 07-10-2014 at 10:10.
Lisandro_Oviedoo is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-10-2014 , 17:33   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #17

1) Here:
PHP Code:
new rand random_num(15
I have made it respawning after random time from 1 to 5 seconds. You can change the value to whatever you want.
2) Didn't understand the question.
3) What?
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Lisandro_Oviedoo
Member
Join Date: Aug 2012
Location: Venezuela
Old 07-11-2014 , 10:55   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #18

Quote:
Originally Posted by Flick3rR View Post
1) Here:
PHP Code:
new rand random_num(15
I have made it respawning after random time from 1 to 5 seconds. You can change the value to whatever you want.
2) Didn't understand the question.
3) What?
1) Done.

I repeat... >>

2) What is the function of "LongJump"?

3) Where do I edit the "LongJump"?

4) How do I disable the "LongJump"?
Lisandro_Oviedoo is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-11-2014 , 11:06   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #19

Wasn't that the request? If you ask about it, I think that I removed it already. Or you just want to know how? If so, simply explanation comes over:
Open the source code and search for such a keywords as "Longjump", "lj", etc. Where you find such a word, take a look at the functions and the connections between them. And then, just remove the unneeded part with the LongJump.
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Lisandro_Oviedoo
Member
Join Date: Aug 2012
Location: Venezuela
Old 07-11-2014 , 18:19   Re: [HELP] - DrShop (Add buy lives and remove LJ).
Reply With Quote #20

Quote:
Originally Posted by Flick3rR View Post
Wasn't that the request? If you ask about it, I think that I removed it already. Or you just want to know how? If so, simply explanation comes over:
Open the source code and search for such a keywords as "Longjump", "lj", etc. Where you find such a word, take a look at the functions and the connections between them. And then, just remove the unneeded part with the LongJump.
Okey. I meant what is the function of "LongJump"?

So, what does the "Long Jump" after you buy at the store?

Can you jump higher or what?

But I prefer that this is disabled.
Lisandro_Oviedoo 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 19:41.


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