[FilterScript] Dynamic organizations
#1

- Dynamic organization filterscript -

Introduction
Hello everyone and good day! I've seen a few users requesting an organization system so I decided to write a simple one!

Information
  • 1 line = 1 organization (A.K.A faction)
  • Organizations created directly from the filterscript
  • Easy to edit
  • Do NOT remove the credits if you decide to use this system
  • Please read this whole thread carefully before using the script
Dini was chosen for file processing because of it's simplicity for beginners.

Quote:
Originally Posted by Jakku
View Post
v.2 Changelog:
  • CreateOrganizationZone can be used to create coloured "gangzones" for orgs
  • IsPlayerInOrgZone(playerid, orgname)
  • SendClientMessageToOrg(orgname, color, message)
  • Fixed some small bugs, nothing serious
  • Added auto-save for player stats and org. leaders (45sec delay)
  • Added /decline command for leaders to decline incoming requests
  • Added /ochat to chat with other org. members
Features
Creating new organization:

Code:
CreateOrganization(name[32], skin, Float:x,Float:y,Float:z, weapon1,ammo1,weapon2,ammo2,weapon3,ammo3)

Explanations:
name - Organization name
skin - Members will spawn with this skin if defined so
x - X- position of HQ
y - Y- position of HQ
z - Z- position of HQ
And the rest are for weapons and ammos

ALWAYS ADD A NEW ORG BELOW THE OLD ONE!
Max orgs are set to 10 as default, if you need more, increase "#define MAX_ORGS"
Creating an organization vehicle:

Code:
CreateOrgVehicle(org[], model, Float:x,Float:y,Float:z,Float:rot, clr1,clr2)

Explanations:
org - To which org is the vehicle for
model - vehicle model
x,y,z - spawn position
rot - rotation
clr1, clr2 - colors

ALWAYS CREATE VEHICLES AFTER YOU HAVE CREATED THE ORG!
Max vehicles per org is 10, if you need more, increase "#define MAX_ORG_VEHICLES"
Creating an organization zone:

Code:
CreateOrganizationZone(orgname[32], Float:minx,Float:miny,Float:maxx,Float:maxy, color)

Explanations:
orgname - To which org is the zone for (name)
minx - Min X- coordinate
miny- Min Y- coordinate
maxx - Max X- coordinate
maxy - Max Y- coordinate
color - The color for the gangzone. Recommended to use transparent colors

ALWAYS CREATE ZONES AFTER YOU HAVE CREATED THE ORG!
Max zones per org is 10, if you need more, increase "#define MAX_ZONES_PER_ORG"
Commands
Following commands are in use:

Code:
/orglist - View a complete list of organizations and their leaders
/myorg - View information about your current org.
/request - Request to join an org
/resign - Leave org.
/org - Will be used at org. HQ, to view information
/ochat - To chat with other members in your org.
/teletohq (Can be disabled, check line 42, which is "#define ENABLE_HQ_TELE")

For leader:
/setmember - Invite a player after (s)he typed /request
/kickmember - Kick a member
/members - View a list of online employees and their ranks
/setrank - Set a rank
/ovrespawn - Respawn all vehicles created for your org.
/decline - Decline an incoming request

For RCON admins:
/setleader
Download & use

If you have any problems using or installing this script please REPLY here
Pastebin link
Reply


Messages In This Thread
Dynamic organizations (A.K.A factions) - by Jakku - 15.12.2011, 19:28
Re: Dynamic organizations - by SpiderWalk - 15.12.2011, 19:34
Re: Dynamic organizations - by Jakku - 15.12.2011, 19:35
Re: Dynamic organizations - by SpiderWalk - 15.12.2011, 19:49
Re: Dynamic organizations - by xRandomGuy - 16.12.2011, 01:34
Re: Dynamic organizations - by WarninigGirl - 16.12.2011, 03:14
Re: Dynamic organizations - by Rafiko - 16.12.2011, 11:46
Re: Dynamic organizations - by Jakku - 16.12.2011, 11:56
AW: Dynamic organizations - by BigETI - 16.12.2011, 12:00
Re: Dynamic organizations - by Edvin - 16.12.2011, 12:02
Re: Dynamic organizations - by Rafiko - 16.12.2011, 12:07
AW: Dynamic organizations - by BigETI - 16.12.2011, 12:07
Re: Dynamic organizations - by Rafiko - 16.12.2011, 12:09
Re: Dynamic organizations - by TheArcher - 16.12.2011, 12:10
Re: Dynamic organizations - by Jakku - 16.12.2011, 12:11
AW: Dynamic organizations - by BigETI - 16.12.2011, 12:14
Re: AW: Dynamic organizations - by Jakku - 16.12.2011, 12:17
Re: Dynamic organizations - by Rafiko - 16.12.2011, 12:18
Re: Dynamic organizations - by Jakku - 16.12.2011, 12:21
Re: Dynamic organizations - by iTorran - 16.12.2011, 12:34
Re: Dynamic organizations - by Jakku - 16.12.2011, 12:35
Re: Dynamic organizations - by Rafiko - 16.12.2011, 12:43
Re: Dynamic organizations - by Jakku - 16.12.2011, 12:51
Re: Dynamic organizations - by Astralis - 17.12.2011, 11:04
Re: Dynamic organizations - by Jakku - 17.12.2011, 11:11
Re: Dynamic organizations - by Jakku - 04.01.2012, 18:51
Re: Dynamic organizations - by cruising - 05.01.2012, 04:37
Re: Dynamic organizations - by Jakku - 05.01.2012, 04:47
Re: Dynamic organizations - by cruising - 05.01.2012, 04:51
Re: Dynamic organizations - by Jochemd - 05.01.2012, 09:43
Re: Dynamic organizations - by Jakku - 05.01.2012, 10:06
Re: Dynamic organizations - by Jochemd - 05.01.2012, 10:09
Re: Dynamic organizations - by cruising - 05.01.2012, 13:31
Re: Dynamic organizations - by Jakku - 05.01.2012, 13:37
Re: Dynamic organizations - by douglasmonteiro - 28.02.2012, 01:35
Re: Dynamic organizations - by IceBilizard - 04.06.2012, 11:28
Re: Dynamic organizations - by Goldilox - 02.08.2012, 19:39
Re: Dynamic organizations - by Jakku - 08.09.2012, 08:37
Re: Dynamic organizations - by Rayansh - 08.09.2012, 15:11
Re: Dynamic organizations - by IceBilizard - 11.09.2012, 05:57
Re: Dynamic organizations - by Jakku - 12.09.2012, 20:17
Re: Dynamic organizations - by Guitar - 12.09.2012, 20:45
Re: Dynamic organizations - by Jakku - 12.09.2012, 20:54
Re: Dynamic organizations - by DiGiTaL_AnGeL - 13.09.2012, 07:27
Re: Dynamic organizations - by Claude_StreeT - 14.09.2012, 14:47
Re: Dynamic organizations - by Jakku - 14.09.2012, 18:54
Re: Dynamic organizations - by IceBilizard - 18.09.2012, 03:57
Re: Dynamic organizations - by Astrais - 17.12.2012, 19:49
Re: Dynamic organizations - by Astrais - 18.12.2012, 13:07
Re: Dynamic organizations - by Astrais - 18.12.2012, 22:53
Re: Dynamic organizations - by Jakku - 19.12.2012, 19:45
Re: Dynamic organizations - by Astrais - 19.12.2012, 19:48
Re: Dynamic organizations - by Astrais - 19.12.2012, 19:57
Re: Dynamic organizations - by Jakku - 19.12.2012, 20:57
Re: Dynamic organizations - by kramba - 20.12.2012, 15:20
Re: Dynamic organizations - by IceBilizard - 27.12.2012, 06:53
Re: Dynamic organizations - by Jakku - 27.12.2012, 17:26
Re: Dynamic organizations - by acajoksa - 14.01.2013, 08:58
Re: Dynamic organizations - by VillainPRO - 14.11.2013, 09:52
Re: Dynamic organizations - by ragu1987 - 18.11.2013, 08:38
Re: Dynamic organizations - by eng62ine - 18.11.2013, 14:57
Re: Dynamic organizations - by twerko13 - 07.01.2014, 13:42
Re: Dynamic organizations - by shamtron - 21.01.2014, 02:16
Re: Dynamic organizations - by iThePunisher - 22.01.2014, 20:17
Re: Dynamic organizations - by Diesel5 - 23.01.2014, 22:41
Re: Dynamic organizations - by Dziugsas - 27.04.2014, 12:24
Re: Dynamic organizations - by IceBilizard - 27.04.2014, 13:52
Re: Dynamic organizations - by antonisrodos94 - 27.04.2014, 21:07
Re: Dynamic organizations - by Naresh - 20.05.2014, 11:38
Re: Dynamic organizations - by Naresh - 22.05.2014, 12:08
Re: Dynamic organizations - by Iillminetor1 - 22.05.2014, 12:23
Re: Dynamic organizations - by PainGiver - 23.05.2014, 17:44
Re: Dynamic organizations - by PainGiver - 23.05.2014, 18:12
Re: Dynamic organizations - by yasin01hard - 02.08.2014, 04:55
Re: Dynamic organizations - by yasin01hard - 05.08.2014, 15:35
Re: Dynamic organizations - by MaxTuner - 06.08.2014, 10:01
Re: Dynamic organizations - by Iklesos - 23.12.2014, 08:37
Re: Dynamic organizations - by Jochemd - 27.12.2014, 09:04
Re: Dynamic organizations - by Sensation - 27.12.2014, 17:22
Re: Dynamic organizations - by Jakku - 27.12.2014, 18:06
Re: Dynamic organizations - by Sensation - 27.12.2014, 18:11
Re: Dynamic organizations - by FerdiAnsyah - 20.08.2015, 07:08
Re: Dynamic organizations - by ognyanov - 21.08.2015, 11:11

Forum Jump:


Users browsing this thread: 2 Guest(s)