How to put a custom interior in server or pwn??
#1

How to put a custom interior in server or pwn??

i want this casino interior to put in my server

https://sampforum.blast.hk/showthread.php?tid=417206
Reply
#2

You could copy and paste the map's code into your GM under OnGameModeInit or do it as a filterscript.
Reply
#3

i already put it but not working
Reply
#4

You can place that code, on
PHP код:
public OnGameModeInit(){} 
and no I won't do that for ye.
but I can give example.
PHP код:
createInterior(){
    
#if defined _streamer_included // if you are using the streamer plugin
        
CreateDynamicObject(19454, 220.88, 75.03, 1042.15, 0.54, -90.72, 0.00);
        
CreateDynamicObject(19454, 224.24, 75.03, 1042.19, 0.54, -90.72, 0.00);
        
CreateDynamicObject(19454, 227.23, 75.03, 1042.23, 0.54, -90.72, 0.00);
        
CreateDynamicObject(19454, 230.52, 75.03, 1042.27, 0.54, -90.72, 0.00);
        
CreateDynamicObject(19454, 233.66, 75.03, 1042.31, 0.54, -90.72, 0.00);
        
CreateDynamicObject(19454, 236.84, 75.03, 1042.35, 0.54, -90.72, 0.00);
        
CreateDynamicObject(19454, 228.22, 66.60, 1042.17, 0.54, -90.72, 0.00);
        
CreateDynamicObject(19454, 228.23, 57.98, 1042.09, 0.54, -90.72, 0.00);
        
CreateDynamicObject(19454, 228.23, 52.69, 1042.03, 0.54, -90.72, 0.00);
        
CreateDynamicObject(19465, 228.27, 70.13, 1044.56, 0.00, 0.00, -90.12);
        
CreateDynamicObject(19465, 222.40, 70.17, 1044.56, 0.00, 0.00, -90.48);
        
CreateDynamicObject(19464, 219.43, 72.94, 1044.56, 0.00, 0.00, 0.00);
        
CreateDynamicObject(19464, 219.44, 77.96, 1044.55, 0.00, 0.00, 0.00);
        
CreateDynamicObject(19464, 222.07, 79.81, 1044.56, 0.00, 0.00, -89.58);
    
#else // and if you are not.
        
CreateObject(19454, 220.88, 75.03, 1042.15, 0.54, -90.72, 0.00);
        
CreateObject(19454, 224.24, 75.03, 1042.19, 0.54, -90.72, 0.00);
        
CreateObject(19454, 227.23, 75.03, 1042.23, 0.54, -90.72, 0.00);
        
CreateObject(19454, 230.52, 75.03, 1042.27, 0.54, -90.72, 0.00);
        
CreateObject(19454, 233.66, 75.03, 1042.31, 0.54, -90.72, 0.00);
        
CreateObject(19454, 236.84, 75.03, 1042.35, 0.54, -90.72, 0.00);
        
CreateObject(19454, 228.22, 66.60, 1042.17, 0.54, -90.72, 0.00);
        
CreateObject(19454, 228.23, 57.98, 1042.09, 0.54, -90.72, 0.00);
        
CreateObject(19454, 228.23, 52.69, 1042.03, 0.54, -90.72, 0.00);
        
CreateObject(19465, 228.27, 70.13, 1044.56, 0.00, 0.00, -90.12);
        
CreateObject(19465, 222.40, 70.17, 1044.56, 0.00, 0.00, -90.48);
        
CreateObject(19464, 219.43, 72.94, 1044.56, 0.00, 0.00, 0.00);
        
CreateObject(19464, 219.44, 77.96, 1044.55, 0.00, 0.00, 0.00);
        
CreateObject(19464, 222.07, 79.81, 1044.56, 0.00, 0.00, -89.58);
    
#endif
    
return 1;
}

public 
OnGameModeInit(){
    
createInterior();
    return 
1;
} 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)