SA-MP Forums Archive
[FilterScript] Interior Teleport System - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Interior Teleport System (/showthread.php?tid=588500)



Interior Teleport System - xTURBOx - 09.09.2015

~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.
FeaturesCommands
/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:

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


Re: Interior Teleport System - DEATHSTROKE - 09.09.2015

Good for a start.


Re: Interior Teleport System - SecretBoss - 09.09.2015

Good but kinda useless


Re: Interior Teleport System - xTURBOx - 09.09.2015

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


Re: Interior Teleport System - SpikY_ - 09.09.2015

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


Re: Interior Teleport System - xTURBOx - 09.09.2015

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


Re: Interior Teleport System - xTURBOx - 10.09.2015

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



Re: Interior Teleport System - xTURBOx - 10.09.2015

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


Re: Interior Teleport System - xTURBOx - 15.09.2015

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


- sayaunta - 22.09.2015

how to add to my server?