The object wont go off
#5

pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, fX, fY, fZ)
{
    MovePlayerObject(playerid, gTutrleObject[ playerid ], fX, fY, fZ, 10);
    CreateExplosion(fX, fY, fZ, 12, 10.0);
    DestroyObject(gTutrleObject[playerid]);//added this
    gTutrleObject[ playerid ] = SetPlayerAttachedObject(playerid, 4, 18912, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
    return true;
}
Reply


Messages In This Thread
The object wont go off - by ThaFuq?Santinosback! - 25.05.2014, 09:14
Re: The object wont go off - by superrobot48 - 25.05.2014, 09:19
Re: The object wont go off - by ThaFuq?Santinosback! - 25.05.2014, 09:20
Re: The object wont go off - by ThaFuq?Santinosback! - 25.05.2014, 09:23
Re: The object wont go off - by BroZeus - 25.05.2014, 09:40
Re: The object wont go off - by ThaFuq?Santinosback! - 25.05.2014, 09:59

Forum Jump:


Users browsing this thread: 4 Guest(s)