Jump to content
alt:V Multiplayer Forum
nOeX

[JS] Example Loading Interior and Props ( Afterhour DLC )

Recommended Posts

Posted (edited)

This Guide should give you a small idea how to load IPL´s and Props with alt:V all happens on Client side!

on the bottom of the Thread you can download a Sample Script just insert it to your server open the console and type in "afterhour"

 

===================================================================================================================================    
CHEATSHEET

===================================================================================================================================

//Loads the IPL
game.requestIpl('IplName');

//Unloads the IPL
game.removeIpl('IplName');

//Loads the Interior
game.loadInterior(InteriorId);

//Enables Interior Prop
game.enableInteriorProp(InteriorId, 'PropName')

//Disables Interior Prop
game.disableInteriorProp(InteriorId, 'PropName')

//Refreshes the Interior after loading Props
game.refreshInterior(InteriorId);

 


Nightclub cords: -1604.664 -3012.583 -78.000
Interior Id : 271617

Example code:         

game.requestIpl('ba_int_placement_ba_interior_0_dlc_int_01_ba_milo_');
game.loadInterior(271617);

===================================================================================================================================    
APPEARANCE

=================================================================================================================================== 

Style01:
Prop: Int01_ba_Style01
Screenshots: http://prntscr.com/nrruvc  ,  http://prntscr.com/nrrxu8http://prntscr.com/nrry6p

Example code:       

game.enableInteriorProp(271617, 'Int01_ba_Style01');
game.refreshInterior(271617);

Style02:
Prop: Int01_ba_Style02
Screenshots:  http://prntscr.com/nrrwod  , http://prntscr.com/nrrxak , http://prntscr.com/nrryq6

Example code:

game.enableInteriorProp(271617, 'Int01_ba_Style02');
game.refreshInterior(271617);

Style03:
Prop: Int01_ba_Style03
Screenshots:  http://prntscr.com/nrryyc  , http://prntscr.com/nrrz3r  , http://prntscr.com/nrrz87
        
Example code:

game.enableInteriorProp(271617, 'Int01_ba_Style03');
game.refreshInterior(271617);

===================================================================================================================================    
PODIUM

=================================================================================================================================== 

   
Style01:
Prop: Int01_ba_style01_podium
Screenshots: http://prntscr.com/nrs06h

Example code:

game.enableInteriorProp(271617, 'Int01_ba_style01_podium');
game.refreshInterior(271617);

Style02:
Prop: Int01_ba_Style02
Screenshots: http://prntscr.com/nrs0hq

Example code:

game.enableInteriorProp(271617, 'Int01_ba_style02_podium');
game.refreshInterior(271617);

Style03:
Prop: Int01_ba_Style03
Screenshots: http://prntscr.com/nrs0rk

        
Example code:

game.enableInteriorProp(271617, 'Int01_ba_style03_podium');
game.refreshInterior(271617);


    

===================================================================================================================================    
SPEAKERS

=================================================================================================================================== 

    
Standart:
Prop: Int01_ba_equipment_setup
Screenshots: http://prntscr.com/nrs20v

Example code:

game.enableInteriorProp(271617, 'Int01_ba_equipment_setup');
game.refreshInterior(271617);

Upgrade:
Prop: Int01_ba_equipment_setup, Int01_ba_equipment_upgrade
Screenshots:http://prntscr.com/nrs279

Example code:

game.enableInteriorProp(271617, 'Int01_ba_equipment_setup');
game.enableInteriorProp(271617, 'Int01_ba_equipment_upgrade');
game.refreshInterior(271617);

    

===================================================================================================================================    
TURNTABLES

=================================================================================================================================== 

Style01:
Prop: Int01_ba_dj01
Screenshotshttp://prntscr.com/nrs4d9

Example code:
 

game.enableInteriorProp(271617, 'Int01_ba_dj01');
game.refreshInterior(271617);


    
Style02:
Prop
: Int01_ba_dj02
Screenshotshttp://prntscr.com/nrs4of

Example code:

game.enableInteriorProp(271617, 'Int01_ba_dj02');
game.refreshInterior(271617);


    
Style03:
Prop: Int01_ba_dj03
Screenshotshttp://prntscr.com/nrs6bx
        
Example code:
 

game.enableInteriorProp(271617, 'Int01_ba_dj03');
game.refreshInterior(271617);

    
Style04:
Prop: Int01_ba_dj04
Screenshotshttp://prntscr.com/nrs6le

Examplecode:

game.enableInteriorProp(271617, 'Int01_ba_dj04');
game.refreshInterior(271617);


    

===================================================================================================================================    

LIGHT RIGS

=================================================================================================================================== 


Lightrig:
Prop: light_rigs_off
Screenshotshttp://prntscr.com/nrsa69

Example code:

game.enableInteriorProp(271617, 'light_rigs_off');
game.refreshInterior(271617);


     
Lightgrid:
Prop: Int01_ba_lightgrid_01
Screenshotshttp://prntscr.com/nrt24i

Example code:

game.enableInteriorProp(271617, 'Int01_ba_lightgrid_01');
game.refreshInterior(271617);

    

===================================================================================================================================    

DROPLETS

=================================================================================================================================== 


Style01(yellow):
Prop: DJ_01_Lights_01
Screenshots:  http://prntscr.com/nrsbb0


Example code:

game.enableInteriorProp(271617, 'DJ_01_Lights_01');
game.refreshInterior(271617);


            
Style02(green):
Prop: DJ_02_Lights_01
Screenshotshttp://prntscr.com/nrsblr

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_01');
game.refreshInterior(271617);


            
Style03(white):
Prop: DJ_03_Lights_01
Screenshotshttp://prntscr.com/nrsc5h

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_01');
game.refreshInterior(271617);

        
Style04(cyan, purple):
Prop: DJ_04_Lights_01
Screenshotshttp://prntscr.com/nrsckt

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_01');
game.refreshInterior(271617);

===================================================================================================================================    

NEONS

=================================================================================================================================== 


Style01(yellow):
Prop: DJ_01_Lights_02
Screenshots: http://prntscr.com/nrsdee

Example code:

game.enableInteriorProp(271617, 'DJ_01_Lights_02');
game.refreshInterior(271617);


            
Style02(green):
Prop: DJ_02_Lights_02
Screenshotshttp://prntscr.com/nrse12

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_02');
game.refreshInterior(271617);


            
Style03(white):
Prop: DJ_03_Lights_02
Screenshotshttp://prntscr.com/nrseja

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_02');
game.refreshInterior(271617);


        
Style04(cyan, purple):
Prop: DJ_04_Lights_02
Screenshotshttp://prntscr.com/nrsf0o

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_02');
game.refreshInterior(271617);


            

===================================================================================================================================    

BANDS

=================================================================================================================================== 


Style01(yellow):
Prop: DJ_01_Lights_03
Screenshotshttp://prntscr.com/nrsftu

Example code:

game.enableInteriorProp(271617, 'DJ_01_Lights_03');
game.refreshInterior(271617);


            
Style02(green):
Prop: DJ_02_Lights_03
Screenshotshttp://prntscr.com/nrsg3m

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_03');
game.refreshInterior(271617);


            
Style03(white):
Prop: DJ_03_Lights_03
Screenshots: http://prntscr.com/nrsgbg

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_03');
game.refreshInterior(271617);


        
Style04(cyan, purple):
Prop: DJ_04_Lights_03
Screenshots:  http://prntscr.com/nrsgis

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_03');
game.refreshInterior(271617);


    

===================================================================================================================================    

LASERS

=================================================================================================================================== 


Style01(yellow):
Prop: DJ_01_Lights_04
Screenshotshttp://prntscr.com/nrsh6e

Example code:

game.enableInteriorProp(271617, 'DJ_01_Lights_04');
game.refreshInterior(271617);


            
Style02(green):
Prop: DJ_02_Lights_04
Screenshots: http://prntscr.com/nrsiet

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_04');
game.refreshInterior(271617);

            
Style03(white):
Prop: DJ_03_Lights_04
Screenshotshttp://prntscr.com/nrsim0

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_04');
game.refreshInterior(271617);

        
Style04(cyan, purple):
Prop: DJ_04_Lights_04
Screenshotshttp://prntscr.com/nrsiwe

Example code:

game.enableInteriorProp(271617, 'DJ_02_Lights_04');
game.refreshInterior(271617);


    

===================================================================================================================================    

BAR

=================================================================================================================================== 

Content:
Prop: Int01_ba_bar_content
Screenshotshttp://prntscr.com/nrsjps, http://prntscr.com/nrskoq


Example code:

game.enableInteriorProp(271617, 'Int01_ba_bar_content');
game.refreshInterior(271617);


    

===================================================================================================================================    

CLUBNAME

=================================================================================================================================== 

Galaxy:
Prop: Int01_ba_clubname_01
Screenshotshttp://prntscr.com/nrsp5t


Example code:

game.enableInteriorProp(271617, 'Int01_ba_clubname_01');
game.refreshInterior(271617);

    
Studio Los Santos:
Prop: Int01_ba_clubname_02
Screenshotshttp://prntscr.com/nrsppp


Example code:

game.enableInteriorProp(271617, 'Int01_ba_clubname_02');
game.refreshInterior(271617);

 
Omega:
Prop: Int01_ba_clubname_03
Screenshotshttp://prntscr.com/nrspx4


Example code:

game.enableInteriorProp(271617, 'Int01_ba_clubname_03');
game.refreshInterior(271617);


Technologie:
Prop: Int01_ba_clubname_04
Screenshotshttp://prntscr.com/nrsq7d


Example code:

game.enableInteriorProp(271617, 'Int01_ba_clubname_04');
game.refreshInterior(271617);

 

Gefängnis:
Prop: Int01_ba_clubname_05
Screenshotshttp://prntscr.com/nrsqgr


Example code:

game.enableInteriorProp(271617, 'Int01_ba_clubname_05');
game.refreshInterior(271617);


    
Masisonette:
Prop: Int01_ba_clubname_06
Screenshotshttp://prntscr.com/nrsqye


Example code:

game.enableInteriorProp(271617, 'Int01_ba_clubname_06');
game.refreshInterior(271617);

    
Tonys fun house:
Prop: Int01_ba_clubname_07
Screenshotshttp://prntscr.com/nrsr5p


Example code:

game.enableInteriorProp(271617, 'Int01_ba_clubname_07');
game.refreshInterior(271617);


The Palace:
Prop: Int01_ba_clubname_08
Screenshots: http://prntscr.com/nrsrep


Example code:

game.enableInteriorProp(271617, 'Int01_ba_clubname_08');
game.refreshInterior(271617);


Paradise:
Prop: Int01_ba_clubname_09
Screenshots:  http://prntscr.com/nrsrlr


Example code:

game.enableInteriorProp(271617, 'Int01_ba_clubname_09');
game.refreshInterior(271617);


    

===================================================================================================================================    

NIGHT CLUB GARAGE

=================================================================================================================================== 

   
Delivery Truck:
Prop: Int01_ba_deliverytruck
Screenshotshttp://prntscr.com/nrst0h


Example code:

game.enableInteriorProp(271617, 'Int01_ba_deliverytruck');
game.refreshInterior(271617);


    

===================================================================================================================================    

VIP-ROOM

=================================================================================================================================== 

Trophy 1:
Prop: Int01_ba_trophy01
Screenshotshttp://prntscr.com/nrsv5c


Example code:

game.enableInteriorProp(271617, 'Int01_ba_trophy01');
game.refreshInterior(271617);

    
Trophy 2:
Prop: Int01_ba_trophy02
Screenshots: http://prntscr.com/nrsvms

Example code:

game.enableInteriorProp(271617, 'Int01_ba_trophy02');
game.refreshInterior(271617);

    
Trophy 3:

Prop: Int01_ba_trophy03
Screenshotshttp://prntscr.com/nrsvtn


Example code:

game.enableInteriorProp(271617, 'Int01_ba_trophy03');
game.refreshInterior(271617);


    
Chest:
Prop: Int01_ba_trophy04
Screenshots: http://prntscr.com/nrsw6w


Example code:

game.enableInteriorProp(271617, 'Int01_ba_trophy04');
game.refreshInterior(271617);

    
    

===================================================================================================================================    

SECURITY

=================================================================================================================================== 

 
Security Upgrade:
Prop: Int01_ba_security_upgrade
Screenshotshttp://prntscr.com/nrsyn5, http://prntscr.com/nrsywahttp://prntscr.com/nrsz1vhttp://prntscr.com/nrszlvhttp://prntscr.com/nrt3q2

Example code:

game.enableInteriorProp(271617, 'Int01_ba_security_upgrade');
game.refreshInterior(271617);


    

===================================================================================================================================    

OTHERS

=================================================================================================================================== 

    
Worklights & Trash:
Prop: Int01_ba_Worklamps
Screenshotshttp://prntscr.com/nrt724

Example code:

game.enableInteriorProp(271617, 'Int01_ba_Worklamps');
game.refreshInterior(271617);


    

===================================================================================================================================    

BARRIERS

=================================================================================================================================== 


Mesa:
Coords: 760, -1337, 27
IPL: ba_barriers_case0
Screenshotshttp://prntscr.com/nrtukn

Example code:

game.requestIpl('ba_barriers_case0');


    
MissionRow:
Coords: 348, -979, 30
IPL: ba_barriers_case1
Screenshotshttp://prntscr.com/nrtr6w

Example code:

game.requestIpl('ba_barriers_case1');

    
        
Strawberry:
Coords: -118, -1260, 30
IPL: ba_barriers_case2
Screenshotshttp://prntscr.com/nrttb7

Example code:

game.requestIpl('ba_barriers_case2');

     
VinewoodWest:
Coords: 9, 221, 109
IPL: ba_barriers_case3
Screenshotshttp://prntscr.com/nrttps

Example code:

game.requestIpl('ba_barriers_case3');


        
Cypress:
Coords: 868, -2098, 31
IPL: ba_barriers_case4
Screenshots: http://prntscr.com/nrtu2i

Example code:

game.requestIpl('ba_barriers_case4');


        
DelPerro:
Coords: -1287, -647, 27
IPL: ba_barriers_case5
Screenshotshttp://prntscr.com/nrtueh

Example code:

game.requestIpl('ba_barriers_case5');


Airport:
Coords: -680, -2461, 14
IPL: ba_barriers_case6
Screenshotshttp://prntscr.com/nrtuv2

Example code:

game.requestIpl('ba_barriers_case6');


Elysian:
Coords: 192, -3168, 6
IPL: ba_barriers_case7
Screenshots:  http://prntscr.com/nrtv5d

Example code:

game.requestIpl('ba_barriers_case7');

  
Vinewood:
Coords: 373, 254, 103
IPL: ba_barriers_case8
Screenshots:  http://prntscr.com/nrtvfc

Example code:

game.requestIpl('ba_barriers_case8');

  
Vespucci:
Coords: -1171, -1150, 6
IPL: ba_barriers_case9
Screenshotshttp://prntscr.com/nrtvwc

Example code:

game.requestIpl('ba_barriers_case9');

===================================================================================================================================    

POSTERS

=================================================================================================================================== 

Quote

To apply posters in front of your club you need to exchange the "caseX" in the IPL string. Example: Mesa has the IPL "ba_barriers_case0" so Mesa is "case0" there for the Poster IPL would look like: "ba_case0_forsale"

  
forSale:
IPL: ba_case0_forsale
Screenshotshttp://prntscr.com/nru2ze

Example code:

game.requestIpl('ba_case0_forsale');

        
dixon:
IPL: ba_case0_dixon
Screenshotshttp://prntscr.com/nru403

Example code:

game.requestIpl('ba_case0_forsale');


madonna:
IPL: ba_case2_madonna
Screenshotshttp://prntscr.com/nru499

Example code:

game.requestIpl('ba_case2_madonna');


solomun:
IPL: ba_case0_solomun
Screenshotshttp://prntscr.com/nru4ho

Example code:

game.requestIpl('ba_case0_solomun');

        
taleOfUs:
IPL: ba_case0_taleofus
Screenshotshttp://prntscr.com/nru4pp

Example code:

game.requestIpl('ba_case0_taleofus');

    

===================================================================================================================================    

UNKNOWNS

=================================================================================================================================== 

Quote

For some of this props i found documentations but didn't find it inside the Club, so no screenshots, for some of them I didn't find anything that changed.


(inside vault) Ammunations:
Prop: Int01_ba_trophy045
    
unknown:
Prop: Int01_ba_trophy06
        
(inside vault) Meth bag:
Prop: Int01_ba_trophy07
        
(inside vault) Fake ID:
Prop: Int01_ba_trophy08
        
(inside vault) Opened weed bag:
Prop: Int01_ba_trophy09
        
(inside vault) Coke doll:
Prop: Int01_ba_trophy10
        
unknown :
Prop: int01_ba_lights_screen
        
unknown :
Prop: Int01_ba_Screen
        

===================================================================================================================================    

CREDITS

=================================================================================================================================== 

Credits to Bob74(https://github.com/Bob74), and some other unknown contributor on the web (google) 

sample_afterhour.js

Edited by nOeX
added sample script
  • Like 10

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...