←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

[forums.alliedmods.net] TestMyLuck - Bet...

Adminek AMXX.PL - zdjęcie Adminek AMXX.PL 09.04.2012

<p>

TestMyLuck
by kapzz

Description:

TestMyLuck is a bet game where the player bet's in 5 numbers with the cost of 200$ , the plugin then generates 5 random numbers,
and the objective is to the choosed numbers be the same and in the same positions as the random numbers, for each bet right the player wins 1250$, and for every wrong he loses 200$.
This plugin is mostly to be used in fun/public servers.
Numbers used here can be changed the way u want.


Video:
watch on youtube for better quality. ( 2º music sucks sorry xD )


Rewards:
This is not all since i thought it has to simple , players will also be able to win random rewards if they are right in more than 1 numbers and if you want this enable.

Rewards that can be given:
  • Random Health
  • Random Armor
  • Random Glow
  • Random Money
  • Nothing



There are 50/50 change of getting a reward or getting nothing.

Commands:
  • /testmyluck
  • /tml
Cvars:

  • tml_status <1/0> - Enables/Disables plugin (default:1)
  • tml_ads <1/0> - Enables/Disables plugin command advertiser. (default:1)
  • tml_cost <default:200> - Money cost of a bet.
  • tml_eachright <default:1250> - Money won on each number right
  • tml_eachwrong <defaut:200> - Money lost on each number wrong
  • tml_rewards <1/0> - Enables/Disables Rewards. (default:1)
  • tml_rewards_maxhealth <default:80> - Max health that can be given on rewards.
  • tml_rewards_maxarmor <default:50> - Max armor that can be given on rewards.
  • tml_rewards_maxmoney <default:1000> - Max money that can be given on rewards.
End:
  • Big thank's to bugsy & smasher:up:
  • You have to compile this localy with colorchat.inc on folder includes
  • Sorry for some english fails, if u find any please let me know
  • Plugin is only in english, will work on more later.
  • If u want to change the number of numbers to bet u have to change it on the sma.
  • If you have any suggestions to improve the plugin code, want something to be added or find any bug please tell, i appreciate it :wink:

Attached Files Dołączona grafika Get Plugin or Get Source (TestMyLuck.sma - 12.4 KB) Dołączona grafika colorchat.inc (5.9 KB)

Wyświetl pełny artykuł
Odpowiedz