Raised This Month: $ Target: $400
 0% 

Solved [Maps ] Spawn Bosses


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 06-20-2020 , 14:03   Re: [Maps ] Spawn Bosses
Reply With Quote #3

I didn't really get enough info, but this might be what you want:

PHP Code:
public plugin_init()
{
    new 
g_mapname[40];
    
get_mapname(g_mapname39);

PHP Code:
    if(g_mapname)
    {
        switch(
g_mapname)
        {
            case 
Alien:  //map name
            
{
                
y_spawn_points[0] = 138.0 //code
                
y_spawn_points[1] = -263.0 
                y_spawn_points
[2] = 36.0 
            
}
            case 
Revenant:
            {
                
y_spawn_points[0] = 243.0
                y_spawn_points
[1] = 109.0 
                y_spawn_points
[2] = -412.0
            
}
            case 
Titan:
            {
                
y_spawn_points[0] = -431.0
                y_spawn_points
[1] = -33.0 
                y_spawn_points
[2] = 613.0
            
}
        }
    } 
__________________
Contact! || Discord:
Mr_Boopsy_#2066

Last edited by supertrio17; 06-20-2020 at 14:03.
supertrio17 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode