[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
#2

Wow.Cool i like it.It have save system?
Reply
#3

Quote:
Originally Posted by SpiderWalk
View Post
Wow.Cool i like it.It have save system?
Yes, all player data is being saved to "Orginfo_playername.ini" and org. leaders to "org_leaders.txt"
Reply
#4

Quote:
Originally Posted by Jakku
View Post
Yes, all player data is being saved to "Orginfo_playername.ini" and org. leaders to "org_leaders.txt"
Its Cool!
Reply
#5

Awesome, thanks.
Reply
#6

Awesome. Really Nice Work
Reply
#7

add function to create TAG for player.

for example "samplayer" (name of account)

/TagPlayer Samplayer [SAM]

than his name will be changed to "[SAM]Samplayer"

if thats possible it will be great xD

thank you for the HARD and AWESOME job!
Reply
#8

Quote:
Originally Posted by Rafiko
View Post
add function to create TAG for player.

for example "samplayer" (name of account)

/TagPlayer Samplayer [SAM]

than his name will be changed to "[SAM]Samplayer"

if thats possible it will be great xD

thank you for the HARD and AWESOME job!
Thanks for your suggestion. I appreciate it
Reply
#9

https://sampforum.blast.hk/showthread.php?tid=303605
And remove adf.ly links please
Reply
#10

WOW! Fucking nice dude! I will use it
Reply
#11

Jakku will u use my suggestion?

cause your dynamic faction system is very very friendly i love the way it works :P

your in my credits, much appreciate your job man xD

EDIT: rep +
Reply
#12

I don't care because you could atleast read the topic and learn before releasing any filterscripts.
(Hot tip: It has something to do with special includes which you are using in your filterscript)
Reply
#13

BigETI, stop telling ppl how to post their topics.

btw : https://sampforum.blast.hk/showthread.php?tid=279908

this is your topic right? i dont see much diffrence...
Reply
#14

I appreciate what you do in school lessons . Good job.
Reply
#15

Quote:
Originally Posted by Rafiko
Посмотреть сообщение
BigETI, stop telling ppl how to post their topics.
Indeed. I actually can't see what I have done wrong in this, do you have a some kind of obsession to advertise your "super-great" includes and telling people how to post their topics? Your topics ain't that better, bro


Quote:
Originally Posted by TheArcher
Посмотреть сообщение
I appreciate what you do in school lessons . Good job.
Thank you.

OFFTOPIC: I had finished all other exercises so I had some spare time
Reply
#16

No I meant do atleast
pawn Код:
#define FILTERSCRIPT
on top of the includes
if you are using includes such as zcmd or something like that.

I never complained about the main part of this release...
Reply
#17

Quote:
Originally Posted by BigETI
Посмотреть сообщение
No I meant do atleast
pawn Код:
#define FILTERSCRIPT
on top of the includes
if you are using includes such as zcmd or something like that.

I never complained about the main part of this release...
And why should I define that? It changes nothing.
Reply
#18

Okay than i think its alright BigETI, sorry for the comment.

Jakku, will u use my suggestion?

i really want to know xD

tnx again
Reply
#19

Probably, but if this is used in RP- servers, it will be a bit non-rp. But I will consider.
Reply
#20

Pastebin please??
Your links were removed
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)