public OnVehicleSpawn(vehicleid){ new Float:x, Float:y, Float:z; GetVehiclePos(vehicleid, x, y, z); // your script return 1;}