Random Gift (Christmas / Easter / Halloween) -
AbyssMorgan - 30.11.2015
Hello, I would like to present a simple script to automatically deploy gifts on the map.
Description:
- On the map there is a prescribed amount of gifts. (Default 100)
- They appear in random locations on the map, in addition to water.
- What definite time reset location. (Default 2 hours)
- After collecting gifts a player receives award. (To set)
- After collecting gift changing locations.
- Nobody, not even the admin does not know gift location.
The script can be used to:
- Christmas
- Easter
- Halloween
Installation:
PHP Code:
//#define SANTA_IS_EASTER_EVENT //Change to Easter Event
//#define SANTA_IS_EASTER_HALLOWEEN //Change to Halloween Event
#include <ADM/StreamerFunction>
#include <ADM/3DTryg>
#include <Santa>
public OnSantaPickupReward(playerid){
//edit this
GivePlayerMoney(playerid,250);
return 1;
}
Download:
Santa.inc[
StreamerFunction.inc Thread
3DTryg.inc Thread
Merry Christmas !
Notice:
Filterscript not exist because filterscripts have limits.
This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.
Non-Registered Users:
Bug Report
Re: Random Gift (Christmas / Easter / Halloween) -
Younes44 - 02.12.2015
not bad
goodjob
Re: Random Gift (Christmas / Easter / Halloween) -
no1508 - 03.12.2015
thanks !
Re: Random Gift (Christmas / Easter / Halloween) -
SilverStand - 04.12.2015
Good Job
Re: Random Gift (Christmas / Easter / Halloween) -
Ritzy2K - 04.12.2015
Well, you could add different objects for hallloween, pumpkin and stuff..
Anyways, seems okay to me.
Keep it up
Re: Random Gift (Christmas / Easter / Halloween) -
JustMe.77 - 04.12.2015
Not really something unique but good work
Re: Random Gift (Christmas / Easter / Halloween) -
bramnapz - 08.12.2015
Nice man
Re: Random Gift (Christmas / Easter / Halloween) -
Dutheil - 08.12.2015
Keep it up
Re: Random Gift (Christmas / Easter / Halloween) -
AbyssMorgan - 19.06.2016
Update v1.4:
- Added auto hook for OnPlayerPickUpDynamicPickup -> SantaPickUp
- Symbol SantaPickUpDynamicPickup has been removed
- Added callback:
PHP Code:
OnSantaPickupReward(playerid);
- Added extra options:
PHP Code:
//#define SANTA_IS_EASTER_EVENT //Change to Easter Event
//#define SANTA_IS_EASTER_HALLOWEEN //Change to Halloween Event
Re: Random Gift (Christmas / Easter / Halloween) -
Xdrime - 20.06.2016
great job
Re: Random Gift (Christmas / Easter / Halloween) -
AbyssMorgan - 06.07.2016
Update v1.4.1:
- Fix Init Hook
Re: Random Gift (Christmas / Easter / Halloween) -
AbyssMorgan - 29.11.2016
Update v1.4.2:
- Added support for ColAndreas
Re: Random Gift (Christmas / Easter / Halloween) -
Ilias_ - 04.03.2017
nice i wll test it