SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 02/04/2009, 10:08 PM   #1
Limex
Big Clucker
 
Join Date: Jun 2006
Posts: 150
Reputation: 40
Default [FS] Limex's Interior Filterscript! All 146 interiors! User friendly! [0.3C WORKING]

Limex's Interior Filterscript

Information
It is an easy teleporting script to all 146 interiors located at http://files.sa-mp.com/interiors.txt.

Commands
/int - Type /int followed by the ID of the interior, and you will be teleported there.

Example:
/int 5 - Teleports you to Blastin Fools Records.

/intlist - Type the ID you wish to start at, and it will display that and 9 more.

Example:
/intlist 1:
Int 1: Ganton Gym
Int 2: Brothel
Int 3: Brothel2
Int 4: Inside Track Betting
Int 5: Blastin Fools Records
Int 6: The Big Spread Ranch
Int 7: Warehouse 1
Int 8: Warehouse 2
Int 9: B Dups Apartment
Int 10: D Dups Crack Palace

If you did /int 6 it would show 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 etc.

Credits
Whoever made the strtok function.
SA-MP for having that interior list.

Download
http://pastebin.com/etcXdhnq

Last edited by Limex; 10/09/2012 at 03:43 AM. Reason: Fixing link!
Limex is offline   Reply With Quote
Old 03/04/2009, 12:10 AM   #2
Norn
High-roller
 
Norn's Avatar
 
Join Date: Jul 2008
Location: Northern Ireland
Posts: 2,265
Reputation: 206
Default Re: [FS] Limex's Interior Filterscript! All 146 interiors! User friendly!

Nice, although you could have just stored it all in one array and theres alot of unneeded braces.

Still i know it's very time consuming making something like this, so cheers.
__________________
Pursuing other endeavours.

Skype: datinvictusguy
Norn is offline   Reply With Quote
Old 03/04/2009, 02:46 AM   #3
G_ROW_Chez
Big Clucker
 
Join Date: Jan 2009
Posts: 94
Reputation: 0
Default Re: [FS] Limex's Interior Filterscript! All 146 interiors! User friendly!

not bad for beginner =)
G_ROW_Chez is offline   Reply With Quote
Old 03/04/2009, 02:42 PM   #4
T RP [Tomorrows-RP.co.uk]
Little Clucker
 
Join Date: Apr 2009
Posts: 18
Reputation: 0
Default Re: [FS] Limex's Interior Filterscript! All 146 interiors! User friendly!

Not bad, could do with some work, but not bad..
T RP [Tomorrows-RP.co.uk] is offline   Reply With Quote
Old 03/04/2009, 03:05 PM   #5
HB
Huge Clucker
 
Join Date: Sep 2007
Posts: 486
Reputation: 45
Default Re: [FS] Limex's Interior Filterscript! All 146 interiors! User friendly!

There goes alot of work in something like this, respect.
HB is offline   Reply With Quote
Old 03/04/2009, 03:16 PM   #6
Norn
High-roller
 
Norn's Avatar
 
Join Date: Jul 2008
Location: Northern Ireland
Posts: 2,265
Reputation: 206
Default Re: [FS] Limex's Interior Filterscript! All 146 interiors! User friendly!

Quote:
Originally Posted by G_ROW_Chez
not bad for beginner =)
He's been coding for like 4 years, he's not a beginner lol.
__________________
Pursuing other endeavours.

Skype: datinvictusguy
Norn is offline   Reply With Quote
Old 03/04/2009, 03:32 PM   #7
luxeon
Huge Clucker
 
Join Date: Dec 2007
Posts: 294
Reputation: 0
Default Re: [FS] Limex's Interior Filterscript! All 146 interiors! User friendly!

Quote:
Originally Posted by Norn
Quote:
Originally Posted by G_ROW_Chez
not bad for beginner =)
He's been coding for like 4 years, he's not a beginner lol.
LOL, if that's true.

Nice work, it can be useful some times!
luxeon is offline   Reply With Quote
Old 03/04/2009, 04:30 PM   #8
Sergei
High-roller
 
Sergei's Avatar
 
Join Date: Mar 2008
Location: Slovenia
Posts: 2,862
Reputation: 230
Default Re: [FS] Limex's Interior Filterscript! All 146 interiors! User friendly!

Very nice. Finally one script with all interiors
__________________
Watch out, scouts everywhere!
Sergei is offline   Reply With Quote
Old 03/04/2009, 08:19 PM   #9
Limex
Big Clucker
 
Join Date: Jun 2006
Posts: 150
Reputation: 40
Default Re: [FS] Limex's Interior Filterscript! All 146 interiors! User friendly!

Lol i'm not a beginner but I havn't really caught up with the times ^^

I still code funny long ways, although I get the same result :P

Basicly i took the list from http://files.sa-mp.com/interiors.txt

Replaced all the spaces with commas, saved it as a CSV file, and messed around with it in OpenOffice spreadsheet thing to get it in an array, then put it back into notepad and removed all the commas. It was faster than manually, but it took some thought :P

I don't usually release anything on here but I know alot of people wonder about the interiors and I just made this in like 20 mins so I thought i think it will be useful.
Limex is offline   Reply With Quote
Old 04/07/2009, 04:12 PM   #10
[Ic]Henri
Little Clucker
 
Join Date: Nov 2007
Posts: 11
Reputation: 0
Default Re: [FS] Limex's Interior Filterscript! All 146 interiors! User friendly!

Doesn't work for me.

EDIT: Nevermind, got it working now. Thanks, this is perfect. =)
[Ic]Henri is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] (ITP) Interior TelePort Version 3 [ New Interiors!!!! ] [4X4]Marco Filterscripts 13 07/12/2013 11:20 PM
No Friendly Fun? XxXTieGuyXxX General 3 29/05/2009 01:21 PM


All times are GMT. The time now is 06:01 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.