SA-MP Forums Archive
[Include] C-Interiors [Create your own interiors!] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] C-Interiors [Create your own interiors!] (/showthread.php?tid=162055)



C-Interiors [Create your own interiors!] - Cacoby - 22.07.2010

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():

Код:
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

Код:
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


Re: C-Interiors [Create your own interiors!] - Lorenc_ - 22.07.2010

Sweet, nice include.


Re: C-Interiors [Create your own interiors!] - DrifteX_ - 22.07.2010

Very nice


Re: C-Interiors [Create your own interiors!] - [KMA]DlennartD - 22.07.2010

How do this work? Can you /setenter /gotoint and /setexit or something?


Re: C-Interiors [Create your own interiors!] - nuriel8833 - 22.07.2010

Very nice [2]


Respuesta: Re: C-Interiors [Create your own interiors!] - Cacoby - 22.07.2010

Quote:
Originally Posted by [KMA]DlennartD
Посмотреть сообщение
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


Re: C-Interiors [Create your own interiors!] - Thebest96 - 11.08.2010

Hmm, so i do the CREATE interior etctectec and then ? how i entry how to use? can post a tuturial please


Re: C-Interiors [Create your own interiors!] - Thebest96 - 15.08.2010

Can helpme?


Respuesta: C-Interiors [Create your own interiors!] - Cacoby - 15.08.2010

Add simple tutorial

• Add examples codes

Sorry for my bad english, sorry for not answering before


Re: Respuesta: C-Interiors [Create your own interiors!] - Thebest96 - 15.08.2010

Quote:
Originally Posted by Cacoby
Посмотреть сообщение
Add simple tutorial

• Add examples codes

Sorry for my bad english, sorry for not answering before
Can u add a tuturial?
Please.