Raised This Month: $ Target: $400
 0% 

[Solved] Jailbreak Lottery System


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tanayraj
Member
Join Date: Sep 2011
Location: India
Old 08-28-2013 , 06:50   [Solved] Jailbreak Lottery System
Reply With Quote #1

Hi ! I found a plugin online which is a Lottery system. People can but lottery tickets with normal cs money and after 1 - 2 minutes results are released if the player wins he is awarded.Can you guys help me and change this plugin into a jailbreak plugin.Where people can buy tickets with their coins/cookies.

I don't have the sma of the jailbreak i am using but i can provide you with the amxx files.My jailbreak has a cmd "jbed_give_coins" to give player coins.

Please help. Thanks!
Attached Files
File Type: sma Get Plugin or Get Source (lotto.sma - 816 views - 11.8 KB)

Last edited by tanayraj; 08-31-2013 at 04:01.
tanayraj is offline
Send a message via Skype™ to tanayraj
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 08-28-2013 , 07:12   Re: Jailbreak Lottery System
Reply With Quote #2

remove the link. its not allowed to upload AMXX FIles

+

Remove dproto
sami_spt is offline
tanayraj
Member
Join Date: Sep 2011
Location: India
Old 08-28-2013 , 09:29   Re: Jailbreak Lottery System
Reply With Quote #3

dproto ? where?
__________________
__________________________________________
Add on steam -TaAaZZ28
Site -www.tanayr.com
tanayraj is offline
Send a message via Skype™ to tanayraj
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-28-2013 , 09:29   Re: Jailbreak Lottery System
Reply With Quote #4

Quote:
Originally Posted by tanayraj View Post
dproto ? where?
In the archive, there was a file called dproto.cfg
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 08-28-2013 , 18:08   Re: Jailbreak Lottery System
Reply With Quote #5

Quote:
Originally Posted by tanayraj View Post
Hi ! I found a plugin online which is a Lottery system. People can but lottery tickets with normal cs money and after 1 - 2 minutes results are released if the player wins he is awarded.Can you guys help me and change this plugin into a jailbreak plugin.Where people can buy tickets with their coins/cookies.

I don't have the sma of the jailbreak i am using but i can provide you with the amxx files.My jailbreak has a cmd "jbed_give_coins" to give player coins.

Please help. Thanks!
if the jailbreak plugin you are using doesn't have an API for the money system then it's not really possible to implement this lottery in the same currency, unless you have the source(which you don't)
aron9forever is offline
Cheezpuff
BANNED
Join Date: Oct 2012
Location: City of the Dead
Old 08-28-2013 , 18:50   Re: Jailbreak Lottery System
Reply With Quote #6

Explanation of the mod:
This is really cute Mod lottery I guess everyone knows what lottery and those who do not I'll explain
This is the mode in which the system selects a random number from 1 to 50 and all players have to guess the number (slot)
The cost of participation is 500 Cash (points) Total money players pay goes one big pot that keeps the entire amount
The game ends after 60 seconds with a timer, the participant won all the points wins the pot.
But note there are situations that no one wins, and that's how the game actually takes place.

lottery.sma
lotto.txt

Built By Just0ne.
Cheezpuff is offline
Send a message via Skype™ to Cheezpuff
tanayraj
Member
Join Date: Sep 2011
Location: India
Old 08-29-2013 , 08:09   Re: Jailbreak Lottery System
Reply With Quote #7

Quote:
Originally Posted by Cheezpuff View Post
Explanation of the mod:
This is really cute Mod lottery I guess everyone knows what lottery and those who do not I'll explain
This is the mode in which the system selects a random number from 1 to 50 and all players have to guess the number (slot)
The cost of participation is 500 Cash (points) Total money players pay goes one big pot that keeps the entire amount
The game ends after 60 seconds with a timer, the participant won all the points wins the pot.
But note there are situations that no one wins, and that's how the game actually takes place.

lottery.sma
lotto.txt

Built By Just0ne.
Can you give a same type of plugin with nVault instead of fVault?

You may edit the sma i provided and use "jbed_give_coins" to give coins and "jbed_take_coins" to take the coins from players.These two are admin cmds to give/take coins
__________________
__________________________________________
Add on steam -TaAaZZ28
Site -www.tanayr.com
tanayraj is offline
Send a message via Skype™ to tanayraj
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 08-29-2013 , 16:37   Re: Jailbreak Lottery System
Reply With Quote #8

Why two commands when you could specify - before amount of coins? On topic, it would be possible if there would be command to get players current amount of coins. Basicly, if you add that take_coins, you can't know if the player has any coins. So, need the source of jailbreak server or api.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
tanayraj
Member
Join Date: Sep 2011
Location: India
Old 08-29-2013 , 21:34   Re: Jailbreak Lottery System
Reply With Quote #9

Quote:
Originally Posted by GuskiS View Post
Why two commands when you could specify - before amount of coins? On topic, it would be possible if there would be command to get players current amount of coins. Basicly, if you add that take_coins, you can't know if the player has any coins. So, need the source of jailbreak server or api.
I dont have the source file if the jailbreak i am using and the author the plugin is offline and he left cs . Can you use that command and just take the coins and give the coins i dont care if the coins will be in minus as in the plugin it self shows minus coins. The plugin which i am using for jailbreak uses steam ids to save the coins. So if the coins are in minus it is the players fault. I can add a warning line which will be disblaced when you buy a ticket. So go ahead , you can use "jbed_take_coins " and "jbed_give_coins"
__________________
__________________________________________
Add on steam -TaAaZZ28
Site -www.tanayr.com
tanayraj is offline
Send a message via Skype™ to tanayraj
tanayraj
Member
Join Date: Sep 2011
Location: India
Old 08-30-2013 , 04:27   Re: Jailbreak Lottery System
Reply With Quote #10

Lets say some1 bets 50 coins , so jbed_take_coins playername 50 and when the results are announced if the player wins 100 coins then jbed_give_coins 150 is coins bet (50) + won (100)
__________________
__________________________________________
Add on steam -TaAaZZ28
Site -www.tanayr.com
tanayraj is offline
Send a message via Skype™ to tanayraj
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:00.


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