Looking For A Crash System
#5

@ admantis
Lol u serious? How is hard is to put an object in the coords that the car blowed up? Anyways I am on the phone so it's a little complicated to post the code in here.

Edit: There's the code.(As you see, that's nothing hard to do, it is so simple)

pawn Код:
public OnVehicleDeath(vehicleid, killerid)
{
    new
        Float:Floats[4];

    GetVehiclePos(vehicleid, Floats[0], Floats[1], Floats[2]);
    GetVehicleZAngle(vehicleid, Floats[3]);
    CreateDynamicObject(18691, Floats[0], Floats[1]-4, Floats[2], Floats[3], 0.00000000,0.00000000, 0, 0, _, 200.0);
    CreateDynamicObject(18691, Floats[0], Floats[1]-4, Floats[2]+1, Floats[3], 0.00000000,0.00000000, 0, 0, _, 200.0);
    CreateDynamicObject(3594, Floats[0], Floats[1], Floats[2], Floats[3], 0.00000000,0.00000000, 0, 0, _, 200.0);
    return 1;
}
Reply


Messages In This Thread
Looking For A Crash System - by iiLiamii - 07.01.2011, 01:00
Re: Looking For A Crash System - by RoamPT - 07.01.2011, 01:07
Re: Looking For A Crash System - by admantis - 07.01.2011, 01:08
Re: Looking For A Crash System - by Souvlaki - 07.01.2011, 01:10
Re: Looking For A Crash System - by RoamPT - 07.01.2011, 01:11

Forum Jump:


Users browsing this thread: 1 Guest(s)