function bomb_drop(x,y,z,nrofbombs) { while(key_ctrl){wait(1);} ...
For the boost plate, you can use a c_trace from your car downward. c_trace returns the you pointer of the boost plate or the texture. You have to test what serves your purpose better.