15.12.2011, 19:28
(
Last edited by Jakku; 27/12/2014 at 05:51 PM.
)
- 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
Quote:
v.2 Changelog:
|
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"
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"
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"
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
If you have any problems using or installing this script please REPLY here
Pastebin link