out of gas? No fuel pressure, no spark? no injector pulse?
what model is your truck? S10, C/K series? what motor? 4.3L, 5.0L, 5.7L, 6.5L diesel...
take the coil wire out of the to of the distributor and place it a good ground and have someone crank the engine over. Do you get a good and consistent spark? If not we might be looking for a distributor or coil problem. Make sure with the key on and also in the cranking position that you have power to the + side of the coil.
If spark out of the coil wire looks good, plug it back into the cap and pull a
spark plug wire off and do the same thing. the spark should do the same thing but with an 8 times linger space between the spark times. If you don't have a good spark there then you need to look at a cap or rotor problem. If the spark is good there then go to the fuel system next.
with the air cleaner removed have someone crank the engine over and watch the spray pattern of the throttle body injectors. (you could also do this when you were checking for spark but keep the wires that are sparking far away from the throttle area so as to not start a fire) Are both injectors spraying a good full cone of fuel? (the injectors should both spray a cone of fuel that starts from the injector and spreads out to cover most of the throttle plate opening) If you don't see any fuel check for fuel pressure. If you have only one spraying you may have a bad injector, injector wiring or injector driver problem. further diag would be needed. If fuel and pattern look good and strong maybe the truck is flooded. Crank the engine over with the gas pedal all the way down to shut off fuel (clear flood) and see if you can get it started.
it goes on and on from there but those things would be the first things to see what is happening to you truck. well, unless you have a diesel...