[FilterScript] Interior Teleport System
#1

~Interior Teleport system~V2.5
Hello guys this is my second filterscript hope you like it
This filterscript will be useful for events(eg: derby,DM,TDM), and can be used with any type of gamemode.
Features
  • One line edit to change the whole script to your admin system
  • 17+ teleports locations
  • one line edit to change the whole script for admins or not
  • /killme and /adminkill cmd included
  • clients messages and gametext too
  • Easy and simple
Commands
/killme
/adminkill
/intcmds
/inttele
/gopos [x] [y] [z]
Whats new in version v2.0
Converted teleport cmds into a teleport dialog
Code:
Thanks to Spiky_ for giving me the idea
no new teleports
one new cmd /gopos
Whats new in version v2.5
~New teleports~
-Wooize's office
-Planning dept
-Crack factory
-Meat factory
-Airport baggage recliam
-3 GYMS (ls, lv, sf)
-betting shop



Some Pictures









Editing the script for your preferences
First scroll down until you see the following code
PHP Code:
//==============================================================================
// Defines
//==============================================================================
 
#define FILTERSCRIPT
//_________________________________Options______________________________________
#define ADMIN           IsPlayerAdmin(playerid)//change line to match your admin system at the moment it is rcon admin
#define ONLY_ADMIN      true //Change true to false if you want every one to use the cmds
#define RESET_WEAPS true//Change this to false if you don't want players to reset their weapons while using the teleport cmds 
Changing to your admin system
got to the following line
PHP Code:
#define ADMIN           IsPlayerAdmin(playerid)//change line to match your admin system at the moment it is rcon admin 
Code:
IsPlayerAdmin(playerid)
Change ^ that code to your admin system code
for example you are using lux admin i will replace it with
Code:
IsPlayerLuxAdm(playerid)
so it will be
PHP Code:
#define ADMIN           IsPlayerLuxAdm(playerid) 
Making the teleports available for all players
go to the line
PHP Code:
#define ONLY_ADMIN      true //Change true to false if you want every one to use the cmds 
Change that true to false
Code:
#define ONLY_ADMIN      false
NOTES:
  • even if change the true to false only the admins can use /adminkill
  • even if all the teleports are for only admins everyone can use the cmds: /killme /intcredits /intcmds


If you find any bugs please report them here
-You maynot re-release this without my permission(pm me to ask for permission)





Download
Version V2.5<--- RECOMMENDED
Download Link (SolidFiles):Click Me<-- Only .AMX file
Download Link(Pastebin):Click Me


Version V2.0
Download Link (SolidFiles):Click Me

Download Link(Pastebin):Click Me

Version V1.0
Download Link(Pastebin):Click Me
NOTE:version 1 is with commands for each and every location
Version v2.0 is a menu where you can select the loc
Reply
#2

Good for a start.
Reply
#3

Good but kinda useless
Reply
#4

Quote:
Originally Posted by DEATHSTROKE
View Post
Good for a start.
thanks

Quote:
Originally Posted by SecretBoss
View Post
Good but kinda useless
like i said you can use the interiors in events
Reply
#5

Not bad.
But instead of creating commands for each interior, you should create dialog. It's just a suggestion.
Reply
#6

Quote:
Originally Posted by SpikY_
View Post
Not bad.
But instead of creating commands for each interior, you should create dialog. It's just a suggestion.
I will think about it(not really used to OnDialogResponse).
Maybe i will change to a dialog style when i gain more scripting knowledge
Reply
#7

Updated
whats new?
Code:
-Converted to a teleport menu
-added /gopos
-/inttele shows the menu
Reply
#8

Updated
whats new?
Code:
-Converted to a teleport menu
-added /gopos
-/inttele shows the menu
Quote:
Originally Posted by SpikY_
View Post
Not bad.
But instead of creating commands for each interior, you should create dialog. It's just a suggestion.
Thanks to Spiky_ i got the idea of converting it to a menu instead of creating commands for each interior
Reply
#9

Updated to version v2.5
Whats new in version v2.5
~New teleports~
-Wooize's office
-Planning dept
-Crack factory
-Meat factory
-Airport baggage recliam
-3 GYMS (ls, lv, sf)
-betting shop
Reply
#10

how to add to my server?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)