Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Releases Filterscripts [Filterscript] Santa Gifts

 
  • 0 Vote(s) - 0 Average
Filterscript Santa Gifts
AbyssMorgan
Offline

Burgershot Member
Posts: 63
Threads: 25
Joined: Apr 2021
Reputation: 8
Location: Poland
#1
2021-04-18, 01:07 PM
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:
Code:
//#define SANTA_IS_EASTER_EVENT    //Change to Easter Event
//#define SANTA_IS_EASTER_HALLOWEEN //Change to Halloween Event
#include <streamer>
#include <ColAndreas>
#include <3DTryg>
#include <Santa>

public OnGameModeInit(){

//Santa::SetSpawnRectangle(Float:minx,Float:miny,Float:maxx,Float:maxy,bool:reset=true);
//Santa::SetSpawnPolygon(Float:points[],maxpoints=sizeof(points),bool:reset=true);

return 1;
}

public OnSantaPickupReward(playerid){

//edit this
GivePlayerMoney(playerid,250);

return 1;
}

Download:
Santa.inc
3DTryg.inc
ColAndreas Plugin

Notice:
Filterscript not exist because filterscripts have limits.
This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode