Put Player In Vehicle Problem / DestroyVehicle Timer
#1

pawn Код:
case 3: //Get My Truck
    {
    new pTruck;
        TruckType[playerid] = dini_Int(udb_encode(PlayerName), "TruckType");
        pTruck = AddStaticVehicle(TruckType[playerid],-79.0896,-1127.8126,0.9531,66,-1,-1);
        TogglePlayerControllable(playerid,1);
        PutPlayerInVehicle(playerid,pTruck,0);
        SendClientMessage(playerid, COLOUR_LIGHTBLUE, "You Have Retrieved Your Truck.");
    }
This code only seems to send the message but the vehicle doesnt actually spawn. It is an option on a menu thats why is case 3:
It should spawn the vehicle id thats in the file.
Reply


Messages In This Thread
Put Player In Vehicle Problem / DestroyVehicle Timer - by Alec24 - 02.04.2009, 21:36
Re: Put Player In Vehicle Problem - by pen_theGun - 02.04.2009, 22:02
Re: Put Player In Vehicle Problem - by Pyrokid - 02.04.2009, 22:04
Re: Put Player In Vehicle Problem - by Alec24 - 03.04.2009, 09:14

Forum Jump:


Users browsing this thread: 1 Guest(s)