SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/12/2012, 10:07 PM   #1
ajmac22
Big Clucker
 
Join Date: Mar 2012
Posts: 67
Reputation: 1
Default Custom Interior Help

So what I want to do:

I want to map a interior for a DM, which I can do.
What I do not know how to do is add it to my server, and then make a commmand to go there. Can someone give me a easy tutorial?
ajmac22 is offline   Reply With Quote
Old 15/12/2012, 10:41 PM   #2
park4bmx
High-roller
 
park4bmx's Avatar
 
Join Date: Dec 2009
Location: Samokov,Bulgaria
Posts: 2,358
Reputation: 240
Default Re: Custom Interior Help

SetPlayerInterior(playerid,interiorid);
that ?
park4bmx is offline   Reply With Quote
Old 15/12/2012, 10:42 PM   #3
zDevon
Huge Clucker
 
Join Date: Jan 2012
Location: Charlotte, NC (USA)
Posts: 299
Reputation: 31
Default Re: Custom Interior Help

Use SetPlayerPos in a command and send them to a pair of coords inside your interior.
zDevon is offline   Reply With Quote
Old 15/12/2012, 11:33 PM   #4
ajmac22
Big Clucker
 
Join Date: Mar 2012
Posts: 67
Reputation: 1
Default Re: Custom Interior Help

Okay, how do I find the coords of my interior?
ajmac22 is offline   Reply With Quote
Old 17/12/2012, 01:48 PM   #5
zDevon
Huge Clucker
 
Join Date: Jan 2012
Location: Charlotte, NC (USA)
Posts: 299
Reputation: 31
Default Re: Custom Interior Help

Extract them from one of the objects you created. Afterwards, once you get inside, you can fine tune it with /save.
zDevon is offline   Reply With Quote
Old 17/12/2012, 01:55 PM   #6
diego_p11
Big Clucker
 
Join Date: Aug 2011
Posts: 70
Reputation: 5
Default Re: Custom Interior Help

Create your map, then test it and do /save inside the interior what you have made, then go to pawn and use:

pawn Code:
if (strcmp("/interior", cmdtext, true, 10) == 0)
        {
                SetPlayerPos(playerid, //put here the cords);
                return 1;
        }
diego_p11 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
[Map] Custom interior [V5] Vin Diesel Maps 81 29/05/2015 11:59 PM
About custom interior Clemonty Scripting Help 2 24/09/2012 01:14 PM
[Map] Custom interior Vin Diesel Maps 4 09/08/2012 06:00 PM
Custom interior. kmzr Help Archive 3 27/02/2010 04:57 PM


All times are GMT. The time now is 09:21 AM.


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