22.07.2010, 03:09
(
Последний раз редактировалось Cacoby; 15.08.2010 в 20:06.
)
C-Interiors
Cacoby 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
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 }
• SolidFiles
Credits
• Cacoby [Scripter]
• [HiC]TheKiller [your tutorial gave me the necessary functions]
Bugs
• No bugs
Sorry for my bad english