attached object to vehicle
#2

pawn Code:
CMD:infernus(playerid,params[])
{
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 411)
    {
        new myobject = CreateObject(359,0,0,-1000,0,0,0,100);
        AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), 1.125000,1.350000,0.075000,91.799980,-0.000001,91.799980);
    }
    else
    {
        GameTextForPlayer(playerid,"~N~ ~N~ ~N~ ~N~ ~R~ You are not in an ~H~ ~W~ Infernus",2000,5);
    }
}


This code, when you are in an infernus you will be able to spawn the object using /infernus, I know it\'s not what you want, but if you want it, I\'ll make you a more complex code.
Reply


Messages In This Thread
attached object to vehicle - by kbalor - 02.11.2013, 17:04
Re: attached object to vehicle - by DaniceMcHarley - 02.11.2013, 17:33
Re: attached object to vehicle - by kbalor - 02.11.2013, 18:02
Re: attached object to vehicle - by DaniceMcHarley - 02.11.2013, 18:49
Re: attached object to vehicle - by kbalor - 02.11.2013, 19:01
Re: attached object to vehicle - by DaniceMcHarley - 02.11.2013, 19:05
Re: attached object to vehicle - by kbalor - 02.11.2013, 19:15

Forum Jump:


Users browsing this thread: 2 Guest(s)