SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/08/2010, 08:39 PM   #11
Thebest96
Big Clucker
 
Join Date: May 2010
Posts: 198
Reputation: 0
Default Re: C-Interiors [Create your own interiors!]

Quote:
Originally Posted by Cacoby View Post
C-Interiors
Cacoby Interiors


Introduction

is a simple INC created by me ,taking the idea from a tutorial on how to build houses

Function

its function is to create interiors easily

How to add the include to GM?

to add the include to your GM you just have to #include <C-Ints>

How to add interior

Add your gm interiors you just put this in OnGameModeInit():

Code:
CreateInterior(Float:Pickupx, Float:Pickupy, Float:Pickupz, Float:Telex, Float:Teley, Float:Telez, interior);
//          pickup pos [x - y - z]             Interior pos [x - y - z]         Interior id
Recomended to use Interior Menu

Tutorial

In your server use /save to save enter pos, and then use the interior dialog and select the Int enter-exit pickup

Example code

Code:
public OnGameModeInit()
{
DisableInteriorEnterExits();
CreateInterior(1554.9537,-1675.6584,16.1953, 246.7079,66.2239,1003.6406, 6);//LSPD Entrance
CreateInterior(246.5325,62.4251,1003.6406, 1552.3231,-1674.6780,16.1953, 0);//LSPD Exit
CreateInterior(1836.4064,-1682.4403,13.3493,493.3891,-22.7212,1000.6797, 17);//Alhambra Entrance
CreateInterior(493.4393,-24.9169,1000.6719, 1834.4000,-1681.7500,13.4331, 0);//Alhambra Exit
}
Download

SolidFiles

Credits

Cacoby [Scripter]

[HiC]TheKiller [your tutorial gave me the necessary functions]


Bugs

No bugs

Sorry for my bad english

Now its good thanks.
Thebest96 is offline   Reply With Quote
Old 22/01/2011, 11:31 AM   #12
Moumen
Little Clucker
 
Join Date: Dec 2010
Posts: 21
Reputation: 0
Default Re: C-Interiors [Create your own interiors!]

Thanks I was looking for this
Moumen is offline   Reply With Quote
Old 26/01/2011, 07:43 PM   #13
bartje01
High-roller
 
Join Date: Jan 2009
Posts: 1,438
Reputation: 6
Default Re: C-Interiors [Create your own interiors!]

Added to my credits.

Thanks
bartje01 is offline   Reply With Quote
Old 10/02/2011, 03:09 PM   #14
justsomeguy
Godfather
 
justsomeguy's Avatar
 
Join Date: Apr 2010
Location: At rBn's fissa
Posts: 5,860
Reputation: 1976
Default Re: C-Interiors [Create your own interiors!]

thanks! i needed this!
__________________
Mooi verhaal, man.
justsomeguy is offline   Reply With Quote
Old 10/02/2011, 06:00 PM   #15
Mean
High-roller
 
Mean's Avatar
 
Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,848
Reputation: 229
Default Re: C-Interiors [Create your own interiors!]

So, this creates a pickup, and teleports you to a position? Sweet!
__________________
Redirect_Left has the best puns.
Quote:
<Redirect_Left>: <Mean> i accidentally cut off my dick
<Redirect_Left>: <Mean> and put it in the microwave
<Redirect_Left>: pls what
<Redirect_Left>: that is a major cockup
<Redirect_Left>: get it?
<Redirect_Left>: cock up?
<Redirect_Left>: HAHAHA
[FS]KILLER COW
[FS]DontDropTheSoap
Mean is offline   Reply With Quote
Old 07/05/2014, 04:29 PM   #16
Robber7
Little Clucker
 
Join Date: Apr 2014
Posts: 17
Reputation: 0
Default Re: C-Interiors [Create your own interiors!]

Bro That Co ords how You added and how many lines you copied tell me Please
Robber7 is offline   Reply With Quote
Old 07/05/2014, 05:09 PM   #17
iFarbod
Gangsta
 
Join Date: Jan 2014
Location: Los Santos (HD Universe)
Posts: 716
Reputation: 59
Default Re: C-Interiors [Create your own interiors!]

nice and handy
iFarbod is offline   Reply With Quote
Old 25/01/2018, 02:22 PM   #18
DJefferson
Little Clucker
 
Join Date: Oct 2017
Posts: 13
Reputation: 0
Default Re: C-Interiors [Create your own interiors!]

explain more please
DJefferson is offline   Reply With Quote
Old 02/05/2018, 07:01 PM   #19
DJefferson
Little Clucker
 
Join Date: Oct 2017
Posts: 13
Reputation: 0
Default Re: C-Interiors [Create your own interiors!]

didnt get the idea of this include
DJefferson is offline   Reply With Quote
Old 02/05/2018, 07:13 PM   #20
Zeus666
Huge Clucker
 
Join Date: Mar 2015
Posts: 461
Reputation: 42
Default Re: C-Interiors [Create your own interiors!]

Good job of revieving an 2010 thread
Zeus666 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



All times are GMT. The time now is 04:05 AM.


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