[Include] C-Interiors [Create your own interiors!]
#1

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
Reply
#2

Sweet, nice include.
Reply
#3

Very nice
Reply
#4

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

Very nice [2]
Reply
#6

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
Reply
#7

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

Can helpme?
Reply
#9

Add simple tutorial

• Add examples codes

Sorry for my bad english, sorry for not answering before
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)