S-Giftbox dynamic giftbox system (2nd fs) -
simo0000 - 13.07.2015
S-Giftbox filterscript
Hello guys I just created my 2nd filterscript and decided to share its a dynamic giftbox system with cool features
which you can place it and destroy it in-game with a simple command
Bugs
None. If you find any bugs report them with a reply and I will fix them. thnx
Features:
-/giftbox. only rcon admin can use that command which it's place a giftbox or destroy it.
-/getgift. it's for all players which they can get gifts from giftbox if they are in range of the giftbox
How to install:
copy S-Giftbox.amx to the your filterscripts and add S-Giftbox to you server.cfg
Download:
Solidfiles
Pastebin
How can i add more gifts?
you can simply add more gifts by editing RandomGift fucntion
pawn Код:
new randomgift = random(MAX_RANDOM_GIFTS) + 1;
switch (randomgift)
{
case 1:
{
GivePlayerMoney(playerid, 50000);
SendClientMessage(playerid, COLOR_YELLOW, "You have won 50000$ enjoy!.");
}
case 2:
{
GivePlayerMoney(playerid, 10000);
SendClientMessage(playerid, COLOR_YELLOW, "You have won 10000$ enjoy!.");
}
case 3:
{
SetPlayerArmour(playerid, 100);
SendClientMessage(playerid, COLOR_YELLOW, "You have won a vest enjoy!.");
}
case 4:
{
//do something here
}
}
return 1;
}
and then increase the #define MAX_RANDOM_GIFTS 3 to #define MAX_RANDOM_GIFTS 4 etc..
sorry for my bad english
Re: S-Giftbox dynamic giftbox system (2nd fs) -
simo0000 - 14.07.2015
Updated
Re: S-Giftbox dynamic giftbox system (2nd fs) -
TheRaGeLord - 14.07.2015
Nice..
Re: S-Giftbox dynamic giftbox system (2nd fs) -
noamch1997 - 14.07.2015
nice i will use it =]
Re: S-Giftbox dynamic giftbox system (2nd fs) -
simo0000 - 14.07.2015
thnx guys for your commants.
Re: S-Giftbox dynamic giftbox system (2nd fs) -
AchievementMaster360 - 14.07.2015
Quote:
Originally Posted by simo0000
thnx guys for your commands. don't forget to +rep me plz. 
thank you
|
Nice work and also dont ask for rep, it's not professional.
Re: S-Giftbox dynamic giftbox system (2nd fs) -
simo0000 - 14.07.2015
Quote:
Originally Posted by AchievementMaster360
Nice work and also dont ask for rep, it's not professional.
|
thnx mate
Re: S-Giftbox dynamic giftbox system (2nd fs) -
BladeFire - 14.07.2015
Great work man
Re: S-Giftbox dynamic giftbox system (2nd fs) -
simo0000 - 14.07.2015
Quote:
Originally Posted by BladeFire
Great work man
|
thnx bro. i appreciate it
Re: S-Giftbox dynamic giftbox system (2nd fs) -
Jakwob - 14.07.2015
Good work mate + rep
Re: S-Giftbox dynamic giftbox system (2nd fs) -
simo0000 - 14.07.2015
Quote:
Originally Posted by Jakwob
Good work mate + rep
|
thnx bro
Re: S-Giftbox dynamic giftbox system (2nd fs) -
SNAKE12 - 15.07.2015
good Job +REP
Re: S-Giftbox dynamic giftbox system (2nd fs) -
simo0000 - 15.07.2015
Quote:
Originally Posted by SNAKE12
good Job +REP
|
thnx
Re: S-Giftbox dynamic giftbox system (2nd fs) -
LifeRah - 20.06.2016
Dude, the gifts we receive gets saved?
Re: S-Giftbox dynamic giftbox system (2nd fs) -
Exlivebs - 22.06.2016
it say you aren\'t admin when i type /Giftbox ! ( i\'m admin) XD
Re: S-Giftbox dynamic giftbox system (2nd fs) -
RedRex - 23.06.2016
Wow nice Work
Re: S-Giftbox dynamic giftbox system (2nd fs) -
CSLangdale - 25.06.2016
Hey good FS but how can i set a limit on how many times a place can use /getgift? like per giftbox i mean?
Re: S-Giftbox dynamic giftbox system (2nd fs) -
Dreamwall - 03.07.2016
Nice script, Great job.