Airdrop system
#1

I followed this tutorial on how to make a airdrop system but the airdrop goes through the ground i dont know why but could someone help me please.

PHP код:
CreateAirdrop(Float:xFloat:y)
{
    for(new 
iMAX_AIRDROPSi++)
    {
        if(! 
gAirdrop[i][AIRDROP_EXIST])
        {
            new 
Float:z;
            
MapAndreas_FindZ_For2DCoord(xyz);
            
+= (6.4653 1.0000);
            
gAirdrop[i][AIRDROP_OBJECT] = CreateDynamicObject(18849xy, (100.0), 0.00.00.0);
            
MoveDynamicObject(gAirdrop[i][AIRDROP_OBJECT], xyz5.0);
            
gAirdrop[i][AIRDROP_POS][0] = x;
            
gAirdrop[i][AIRDROP_POS][1] = y;
             
gAirdrop[i][AIRDROP_POS][2] = (- (6.4653 1.0000));
            
gAirdrop[i][AIRDROP_EXIST] = true;
            
gAirdrop[i][AIRDROP_EXPIRE] = -1;
            
gAirdrop[i][AIRDROP_PICKED] = true;
            return 
i;
        }
    }
    return -
1;

Reply


Messages In This Thread
Airdrop system - by 1fret - 18.01.2018, 21:59
Re: Airdrop system - by Fratello - 18.01.2018, 22:57
Re: Airdrop system - by 1fret - 18.01.2018, 23:26
Re: Airdrop system - by 1fret - 19.01.2018, 18:33
Re: Airdrop system - by JasonRiggs - 19.01.2018, 18:45
Re: Airdrop system - by RogerCosta - 19.01.2018, 18:46
Re: Airdrop system - by JustNothing - 19.01.2018, 19:07
Re: Airdrop system - by RogerCosta - 19.01.2018, 19:12
Re: Airdrop system - by JustNothing - 19.01.2018, 19:56
Re: Airdrop system - by 1fret - 19.01.2018, 22:21

Forum Jump:


Users browsing this thread: 3 Guest(s)