Spawn few objects / max
#6

my activategiftboxes.

PHP код:
stock ActivateGiftboxes(ggiftboxes)
{
    for(new 
0ggiftboxesi++)
    {
        new 
gbox minrand(0MAX_GIFTBOXES);
        new 
gbox_i minrand(115);
        new 
gboxe_obj 19054;
        if(
gbox_i == 1)
        {
            
gboxe_obj 19054;
        }
        if(
gbox_i == 2)
        {
            
gboxe_obj 19055;
        }
        if(
gbox_i == 3)
        {
            
gboxe_obj 19056;
        }
        if(
gbox_i == 4)
        {
            
gboxe_obj 19057;
        }
        if(
gbox_i == 5)
        {
            
gboxe_obj 19058;
        }
        if(
gbox_i == 6)
        {
            
gboxe_obj 19054;
        }
        if(
gbox_i == 7)
        {
            
gboxe_obj 19058;
        }
        if(
gbox_i == 8)
        {
            
gboxe_obj 19058;
        }
        if(
gbox_i == 9)
        {
            
gboxe_obj 19058;
        }
        if(
gbox_i == 10)
        {
            
gboxe_obj 19058;
        }
        if(
gbox_i == 11)
        {
            
gboxe_obj 19058;
        }
        if(
gbox_i == 12)
        {
            
gboxe_obj 19055;
        }
        if(
gbox_i == 13)
        {
            
gboxe_obj 19056;
        }
        if(
gbox_i == 14)
        {
            
gboxe_obj 19058;
        }
        if(
gbox_i == 15)
        {
            
gboxe_obj 19058;
        }
        
Giftboxes[gbox][gbox_active] = true;
        
Giftboxes[gbox][gbox_obj] = CreateDynamicObject(gboxe_objGiftboxes[gbox][gbox_x], Giftboxes[gbox][gbox_y], Giftboxes[gbox][gbox_z]-0.40.0,0.0,0.0,-1,-1,-1,300.0);
    }
    return 
1;

Reply


Messages In This Thread
Spawn few objects / max - by AzaMx - 12.08.2018, 01:08
Re: Spawn few objects / max - by AzaMx - 12.08.2018, 17:15
Re: Spawn few objects / max - by Bigwebicek - 12.08.2018, 18:01
Re: Spawn few objects / max - by TheBlackHand - 12.08.2018, 18:05
Re: Spawn few objects / max - by Pottus - 12.08.2018, 18:25
Re: Spawn few objects / max - by AzaMx - 12.08.2018, 18:59
Re: Spawn few objects / max - by AzaMx - 14.08.2018, 04:17

Forum Jump:


Users browsing this thread: 1 Guest(s)