SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 24/07/2007, 08:34 PM   #1
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,696
Reputation: 127
Default Enter Shamal as passenger. (v3.1 13th May 2017)

13th May 2017: 3.1 released . A couple of code optimizations / bug fixes.

------------------------------------------------------------

27th April 2014: 3.01 released . When you exit a Shamal it will now check the Shamals virtual world and set your world to that world (some gamemodes might have Shamals in different virtual worlds).

------------------------------------------------------------

26th April 2014: 3.0 released . 5 years later. SA-MP 0.3z R2-2 server has been released, bringing with it CreateExplosionForPlayer. This means that each Shamal no longer needs its own interior. Using virtual worlds and per-player explosions I bring you v3.0. Less code, no objects, same great effect (if not better).

------------------------------------------------------------

24th August 2009: 2.12 released . Fixed an error causing players to crash when entering a Shamal.

------------------------------------------------------------

30th October 2008: 2.11 released . The script will check that objects are within the limit before creating more.

------------------------------------------------------------

10th October 2008: 2.1 released - Edited a lot the code and added pastebin download.

------------------------------------------------------------

Updated: Version 2.0. This version will now give each Shamal its own interior and when you enter a Shamal it will take you to that interior, so other people in a different Shamal as passenger will be in a different interior.
When the actual Shamal vehicle blows up explosions will also take place in the interior of that Shamal. They will stop when the Shamal respawns and start again when it is next destroyed.

Note: The interiors obviously require objects for each, so as long as you don't have too many Shamals and/or too many objects already you should be fine .

------------------------------------------------------------

Well its basically like what you have seen in Partyserver, although I haven't seen it I have heard about it so I made a filterscript for it, just put the amx in your filterscripts folder and add shamal to your filterscripts line in your server config file. Although this isn't a huge gamemode its a nice little script that I've got here so although you don't have to give me credit, don't give yourself it !

HowToEnter?: Just press g at the Shamal like you would for a normal vehicle and you will enter the Shamals interior.

HowToExit?: Press the normal exit button for a vehicle and you will reappear at the passenger door outside the Shamal.

Basically it works the same as a normal vehicle only you are inside the Shamals interior, oh and the passenger amount is unlimited.


Download 3.1 (recommended)-
Download 3.1 (pastebin.com).


Download 2.12 -
Download 2.12 (pastebin.com).


Cheers. Martin (BeckzyBoi)

Last edited by BeckzyBoi; 13/05/2017 at 08:53 AM.
BeckzyBoi is offline   Reply With Quote
Old 24/07/2007, 09:07 PM   #2
serj009
Huge Clucker
 
Join Date: Jul 2007
Posts: 344
Reputation: 1
Default Re: [FS] Enter shamal as passenger.

i like this..ALOT! Thx!
serj009 is offline   Reply With Quote
Old 24/07/2007, 09:15 PM   #3
chepa
Little Clucker
 
Join Date: Jan 2007
Posts: 6
Reputation: 0
Default Re: [FS] Enter shamal as passenger.

Cool man!!!!
chepa is offline   Reply With Quote
Old 24/07/2007, 10:23 PM   #4
sebas[nl]
Little Clucker
 
Join Date: Jun 2007
Posts: 15
Reputation: 0
Default Re: [FS] Enter shamal as passenger.

Nice work
sebas[nl] is offline   Reply With Quote
Old 24/07/2007, 10:25 PM   #5
Curynga
Big Clucker
 
Join Date: Jul 2007
Posts: 103
Reputation: 0
Default Re: [FS] Enter shamal as passenger.

Thanks thanks thanks a lot !
Curynga is offline   Reply With Quote
Old 24/07/2007, 11:05 PM   #6
Vax_One
Little Clucker
 
Join Date: Feb 2007
Posts: 16
Reputation: 0
Default Re: [FS] Enter shamal as passenger.

thanks great script man, hey can you make one with the andromada, theres an interior for andromada
Vax_One is offline   Reply With Quote
Old 24/07/2007, 11:52 PM   #7
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,696
Reputation: 127
Default Re: [FS] Enter shamal as passenger.

Quote:
Originally Posted by vAx1OnE
thanks great script man, hey can you make one with the andromada, theres an interior for andromada
No the Andromada natively has 2 seats that you can go to and get in and out of without any code although i can see your point about the coincidence of the Andromada also having a suitable interior.
__________________
BeckzyBoi is offline   Reply With Quote
Old 24/07/2007, 11:59 PM   #8
[AC]Yaron
Little Clucker
 
Join Date: Oct 2006
Posts: 12
Reputation: 0
Default Re: [FS] Enter shamal as passenger.

I was hoping something like that will be released. Thanks a lot.
[AC]Yaron is offline   Reply With Quote
Old 25/07/2007, 02:57 AM   #9
dracar
Big Clucker
 
Join Date: Jan 2007
Posts: 52
Reputation: 0
Default Re: [FS] Enter shamal as passenger.

I like it alot, heres some more ideas/notes if you wanna work on it, Im trying but havign a little trouble...
1. it seems like its hard to get in some times,
2. my friend got in while i was driving and he did not disapear from outside.
3. my friend got out and i did not see him appear at all.
4. if it blows up they dont die
5. should add a parashoot spawn in it
6. there should be like a block so the passengers cant get neat the cockpit, that way they cant see there is no driver in it
7. Need to stop respawning if some one is inside

--Glitch--
I was flying, got out and hit g to get in back, then got out again and the plane fell, i hit g to get back in, and then when i exited, i was in the air again, but the plane was still on the ground...
dracar is offline   Reply With Quote
Old 25/07/2007, 09:09 AM   #10
T-N-Z
Huge Clucker
 
T-N-Z's Avatar
 
Join Date: May 2007
Posts: 241
Reputation: 23
Default Re: [FS] Enter shamal as passenger.

cool , thx , can somehow you make fs for andromada (secret plane) to get passangers into it ?
__________________
T-N-Z 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
Enter as passenger. ScIrUsna Scripting Help 0 29/04/2016 06:23 PM
How to have players enter as a passanger in a Shamal and Andromeda? DesertFoxNight Help Archive 3 01/03/2010 05:23 PM
[NPC] SA Pilot **Revamped** (Enter the Shamal!) V1ceC1ty Help Archive 22 15/01/2010 04:21 PM
[SOLVED] shamal enter crashes troy52192 Help Archive 0 28/11/2009 06:15 AM


All times are GMT. The time now is 08:23 AM.


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