SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 22/07/2010, 03:09 AM   #1
Cacoby
Huge Clucker
 
Cacoby's Avatar
 
Join Date: Jul 2010
Posts: 218
Reputation: 3
Default C-Interiors [Create your own interiors!]

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

Last edited by Cacoby; 15/08/2010 at 08:06 PM.
Cacoby is offline   Reply With Quote
Old 22/07/2010, 06:25 AM   #2
Lorenc_
High-roller
 
Lorenc_'s Avatar
 
Join Date: Jan 2010
Location: Australia
Posts: 4,266
Reputation: 1137
Default Re: C-Interiors [Create your own interiors!]

Sweet, nice include.
__________________
Join the best Cops And Robbers in SA-MP, today. svr.sfcnr.com:7777

Lorenc_ is offline   Reply With Quote
Old 22/07/2010, 06:40 AM   #3
DrifteX_
Little Clucker
 
DrifteX_'s Avatar
 
Join Date: Jul 2010
Posts: 49
Reputation: 3
Default Re: C-Interiors [Create your own interiors!]

Very nice
DrifteX_ is offline   Reply With Quote
Old 22/07/2010, 10:18 AM   #4
[KMA]DlennartD
Huge Clucker
 
[KMA]DlennartD's Avatar
 
Join Date: Mar 2008
Location: The Netherlands
Posts: 364
Reputation: 4
Default Re: C-Interiors [Create your own interiors!]

How do this work? Can you /setenter /gotoint and /setexit or something?
__________________
[KMA]DlennartD is offline   Reply With Quote
Old 22/07/2010, 10:51 AM   #5
nuriel8833
High-roller
 
nuriel8833's Avatar
 
Join Date: Jun 2009
Location: Israel
Posts: 1,172
Reputation: 16
Default Re: C-Interiors [Create your own interiors!]

Very nice [2]
__________________
Back to forums
Although I am not scripting much,only my gamemode on my free time

My works:
80.179.219.89:7778
[Tutorial] Kills Table BonusLast.fm
nuriel8833 is offline   Reply With Quote
Old 22/07/2010, 04:43 PM   #6
Cacoby
Huge Clucker
 
Cacoby's Avatar
 
Join Date: Jul 2010
Posts: 218
Reputation: 3
Default Respuesta: Re: C-Interiors [Create your own interiors!]

Quote:
Originally Posted by [KMA]DlennartD View Post
How do this work? Can you /setenter /gotoint and /setexit or something?
no comands, you just have to keep the position of the pickup and the spawn point
Fucking ****** traductor, sorry for my bad english
Cacoby is offline   Reply With Quote
Old 11/08/2010, 03:03 PM   #7
Thebest96
Big Clucker
 
Join Date: May 2010
Posts: 198
Reputation: 0
Default Re: C-Interiors [Create your own interiors!]

Hmm, so i do the CREATE interior etctectec and then ? how i entry how to use? can post a tuturial please
Thebest96 is offline   Reply With Quote
Old 15/08/2010, 01:52 PM   #8
Thebest96
Big Clucker
 
Join Date: May 2010
Posts: 198
Reputation: 0
Default Re: C-Interiors [Create your own interiors!]

Can helpme?
Thebest96 is offline   Reply With Quote
Old 15/08/2010, 07:55 PM   #9
Cacoby
Huge Clucker
 
Cacoby's Avatar
 
Join Date: Jul 2010
Posts: 218
Reputation: 3
Default Respuesta: C-Interiors [Create your own interiors!]

Add simple tutorial

Add examples codes

Sorry for my bad english, sorry for not answering before
Cacoby is offline   Reply With Quote
Old 15/08/2010, 08:36 PM   #10
Thebest96
Big Clucker
 
Join Date: May 2010
Posts: 198
Reputation: 0
Default Re: Respuesta: C-Interiors [Create your own interiors!]

Quote:
Originally Posted by Cacoby View Post
Add simple tutorial

Add examples codes

Sorry for my bad english, sorry for not answering before
Can u add a tuturial?
Please.
Thebest96 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 01:49 AM.


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