The object wont go off
#1

When i shoot with any weapon i want the object to go off but it dosen't it just explodes where ever i shoot with any weapon, thanks for your time!

pawn Код:
new
    gTutrleObject[ MAX_PLAYERS ];

CMD:gyn(playerid, params[])
{
    gTutrleObject[ playerid ] = SetPlayerAttachedObject(playerid, 4, 18912, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
    return true;
}

public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, fX, fY, fZ)
{
    MovePlayerObject(playerid, gTutrleObject[ playerid ], fX, fY, fZ, 10);
    CreateExplosion(fX, fY, fZ, 12, 10.0);
    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: 2 Guest(s)