[FilterScript] Crate System!
#1

Introduction

This is a simple 'Lost Crate' system minigame. A crate spawns, and the first player to find the crate gets some rewards such as weapons, and health.

Requirements

All requirements are located on the GitHub download.

Features

Version 1.0
  • Respawn time of 3 minutes
  • Easily add your own crate spawn points.
  • Crate will destroy at 24:00 gametime if it hasn't been found. Another crate will respawn after that.
Version 2.0 [LATEST]
  • Map Icons are no longer used since the introduction of /crate and the fact the location is told when the crate is spawned.
  • Use /crate to find the distance you are from the crate in meters.
  • The location will be told once the crate spawns.
  • Added about 16 new spawn points. All are in Los Santos.
Commands

Code:
/cratehelp - Display commands and information about this system.
/opencrate - Open the crate (must be near it)
/oc - Shorter command for /opencrate
/crate - See your distance from the crate (in meters)
Defines

Code:
// CRATE OBJECT ID DEFINE //
#define CRATE_MODEL_ID (2358) // The crate object ID.

// TIME DEFINE //
#define CRATE_SPAWN_TIME 180000 // Time it takes for the crate to spawn (in milliseconds). Change to your liking. Current set at 180000 (3 minutes)
Pictures (Click on the links!)

Crate Spawn:

Image

New /crate command for finding distance from crate:

Image

Download

GitHub
Reply
#2

Simple and good, nice!
Reply
#3

Nice Thx
Reply
#4

Quote:
Originally Posted by edwardluciano
View Post
Nice Thx
Quote:
Originally Posted by SecretBoss
View Post
Simple and good, nice!
I've only seen a couple - well actually barely some of these. I decided to release it because of that.

Thanks !
Reply
#5

Decided to work on this more and now a new version is here.

What's new:
  • Map Icons are no longer used since the introduction of /crate and the fact the location is told when the crate is spawned.
  • Use /crate to find the distance you are from the crate in meters.
  • The location will be told once the crate spawns.
  • Added about 16 new spawn points. All are in Los Santos.
Visit the download link for the full package download which all files including plugins, includes and source code are included.

GitHub Download
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)