02.04.2009, 21:36
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.");
}
It should spawn the vehicle id thats in the file.